MaterialObject::FindRegisteredSubstance
Defined in:
Returns a specific registered substance.
C4MaterialObjects.h
Prototype
static const Substance *FindRegisteredSubstance(SubstanceType type);
Parameters
type |
The type of the substance. |
Description
The FindRegisteredSubstance
function returns a pointer to the registered Substance
object corresponding to the substance type specified by the type
parameter. If no such registration exists, then the return value is nullptr
.
See Also
MaterialObject::GetFirstRegisteredSubstance