C4 Engine
C4 Engine API Documentation

Mesh::GetPrimitiveCount

Defined in:  C4Mesh.h
Returns the number of primitives in a mesh.
Prototype

int32 GetPrimitiveCount(voidconst;

Description
The GetPrimitiveCount function returns the number of primitives (triangles) in a mesh. This is equivalent to the number of elements in the array with identifier kArrayPrimitive.
See Also

Mesh::GetVertexCount