Model:getVertexCount
EditReturns the total vertex count of the Model.
count = Model:getVertexCount()
Arguments
None
Returns
Name | Type | Description |
count | number | 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.