MaterialObject::GetMaterialSubstance
Defined in:
Returns the material substance type.
C4MaterialObjects.h
Prototype
SubstanceType GetMaterialSubstance(void) const;
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