public class ModelMesh extends Object
Constructor and Description |
---|
ModelMesh()
Use
Model.getMesh(java.lang.String) to create an instance. |
Modifier and Type | Method and Description |
---|---|
String |
id()
The name of the glTF JSON property for this mesh.
|
ModelMaterial[] |
materials()
An array of ModelMaterial instances indexed by the mesh's primitive indices.
|
String |
name()
The value of the name property of this mesh.
|
@JsConstructor public ModelMesh()
Model.getMesh(java.lang.String)
to create an instance.@JsProperty(name="id") public String id()
@JsProperty(name="materials") public ModelMaterial[] materials()
Copyright © 2019. All rights reserved.