ModelData:getTriangleCount

Edit

Returns the total number of triangles in the model. This count includes meshes that are attached to multiple nodes, and the count corresponds to the triangles returned by ModelData:getTriangles.

count = ModelData:getTriangleCount()

Arguments

None

Returns

NameTypeDescription
countnumber The total number of triangles in the model.

See also