C4 Engine
C4 Engine API Documentation

MaterialObject::GetMaterialSubstance

Defined in:  C4MaterialObjects.h
Returns the material substance type.
Prototype

SubstanceType GetMaterialSubstance(voidconst;

Description
The GetMaterialSubstance function returns the material substance type. This information can be used directly, or it can be passed to the MaterialObject::FindRegisteredSubstance function to obtain a registered Substance object.

The default substance type assigned to a material object is kSubstanceNone.
See Also

MaterialObject::SetMaterialSubstance

MaterialObject::FindRegisteredSubstance