MaterialObject::SetMaterialSubstance
Defined in:
Sets the material substance type.
C4MaterialObjects.h
Prototype
void SetMaterialSubstance(SubstanceType substance);
Parameters
substance |
The new material substance type. Pass the constant kSubstanceNone to indicate no substance.
|
Description
The SetMaterialSubstance
function sets the material substance type to the 32-bit identifier specified by the substance
parameter. The substance type typically corresponds to a substance that was previously registered with the engine using the MaterialObject::RegisterSubstance
function.
See Also