MaterialObject::RegisterSubstance
Defined in:
Registers a substance with the engine.
C4MaterialObjects.h
Prototype
static void RegisterSubstance(Substance *substance);
Parameters
substance |
The substance object to register. |
Description
The RegisterSubstance
function registers the Substance
object specified by the substance
parameter with the engine. The substance type represetned by the Substance
object must be unique among all previously registered substances, or else the substance is not registered.
See Also
MaterialObject::GetFirstRegisteredSubstance