MaterialObject::GetLastRegisteredSubstance
Defined in:
Returns the first registered substance.
C4MaterialObjects.hPrototype
static const Substance *GetLastRegisteredSubstance(void);
Description
The GetLastRegisteredSubstance function returns a pointer to the Substance object corresponding to the last registered substance type. The entire list of registered substances can be iterated by calling the Substance::GetPreviousRegisteredSubstance function on the returned object and continuing until nullptr is returned.
See Also
MaterialObject::GetFirstRegisteredSubstance
MaterialObject::FindRegisteredSubstance
