ModelData:getMeshIndexCount

Edit

Returns the number of vertex indices in a mesh. Vertex indices allow for vertices to be reused when defining triangles.

count = ModelData:getMeshIndexCount(mesh)

Arguments

NameTypeDescription
meshnumber The index of a mesh.

Returns

NameTypeDescription
countnumber The number of vertex indices in the mesh.

Notes

This may return zero if the mesh does not use indices.

See also