ModelMesh - Cesium Documentation

# ModelMesh

#### new ModelMesh()

  A model's mesh and its materials.

  Use `Model#getMesh` to create an instance.

  ##### See:

  - Model#getMesh
  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 `name` property (@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 `ModelMaterial` instances indexed by the mesh's primitive indices.
  Source: Scene/ModelMesh.js, line 77

#### 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.
  Source: Scene/ModelMesh.js, line 45