C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

Geometry::GetMaterialCount

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

long 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