Geometry::SetMaterialCount
Defined in:
Sets the number of material slots.
C4Geometries.h
Prototype
void SetMaterialCount(int32 count);
Parameters
count |
The new number of material slots. This cannot be less than 1. |
Description
The SetMaterialCount
function sets the number of material slots allocated for a geometry to the number specified by the count
parameter. If the new number of material slots is less than its previous value, then any material objects assigned to slots with indexes greater than or equal to count
are released.
See Also