Model:getVertexCount

Returns the total vertex count of the Model.

count = Model:getVertexCount()

Arguments

None

Returns

NameTypeDescription
countnumber The total number of vertices.

Notes

This isn't always the same as the length of the vertex buffer, since a mesh in the Model could be drawn by multiple nodes.

See also