Contents

materials

The materials that define the model’s visual appearance.

Declaration

var materials: [any Material]

Discussion

Each MeshResource requires a set of materials. An entity that has no materials renders using a magenta striped material. To determine the number of materials a mesh requires, use expectedMaterialCount.