main.cesium.ModelMesh.kt Maven / Gradle / Ivy
// Automatically generated - do not modify!
@file:JsModule("cesium")
package cesium
/**
* A model's mesh and its materials.
*
* Use [Model.getMesh] to create an instance.
* @see Online Documentation
*/
external class ModelMesh {
/**
* The value of the `name` property of this mesh.
* @see Online Documentation
*/
val name: String
/**
* The index of the mesh.
* @see Online Documentation
*/
val id: String
/**
* An array of [ModelMaterial] instances indexed by the mesh's
* primitive indices.
* @see Online Documentation
*/
val materials: Array
}