new ModelMesh()
A model's mesh and its materials.
Use Model#getMesh to create an instance.
See:
Source:
Scene/ModelMesh.js, line 19
Members
-
readonlyid :String
-
The name of the glTF JSON property for this mesh. This is guaranteed to be unique among all meshes. It may not match the mesh's
nameproperty (@link ModelMesh#name), which is assigned by the artist when the asset is created.Source: Scene/ModelMesh.js, line 62 -
readonlymaterials :Array.<ModelMaterial>
-
An array of
ModelMaterialinstances indexed by the mesh's primitive indices.Source: Scene/ModelMesh.js, line 77 -
readonlyname :String
-
The value of the
nameproperty of this mesh. This is the name assigned by the artist when the asset is created. This can be different than the name of the mesh property (ModelMesh#id), which is internal to glTF.Source: Scene/ModelMesh.js, line 45
