ModelMesh

new ModelMesh()

A model's mesh and its materials.

Use Model#getMesh to create an instance.

See:

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 name property (@link ModelMesh#name), which is assigned by the artist when the asset is created.

readonlymaterials :Array.<ModelMaterial>

An array of ModelMaterial instances indexed by the mesh's primitive indices.

readonlyname :String

The value of the name property 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.