ModelData:getMeshIndexCount
EditReturns the number of vertex indices in a mesh. Vertex indices allow for vertices to be reused when defining triangles.
count = ModelData:getMeshIndexCount(mesh)
Arguments
Name | Type | Description |
mesh | number | The index of a mesh. |
Returns
Name | Type | Description |
count | number | The number of vertex indices in the mesh. |
Notes
This may return zero if the mesh does not use indices.