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