Model:getTriangleCount
EditReturns the total number of triangles in the Model.
count = Model:getTriangleCount()
Arguments
None
Returns
Name | Type | Description |
count | number | The total number of triangles in the Model. |
Notes
This isn't always related to the length of the vertex buffer, since a mesh in the Model could be drawn by multiple nodes.
See also
Model:getTriangles
Model:getVertexCount
ModelData:getTriangleCount
Model