ModelData:getMeshVertexCount

Returns the number of vertices in a mesh.

count = ModelData:getMeshVertexCount(mesh)

Arguments

NameTypeDescription
meshnumber The index of a mesh.

Returns

NameTypeDescription
countnumber The number of vertices in the mesh.

See also