C4 Engine
C4 Engine API Documentation

Geometry::GetMaterialCount

Defined in:  C4Geometries.h
Returns the number of material slots.
Prototype

int32 GetMaterialCount(voidconst;

Description
The GetMaterialCount function returns the number of material slots allocated for a geometry. The return value is always at least 1.
See Also

Geometry::SetMaterialCount

Geometry::GetMaterialObject

Geometry::SetMaterialObject