C4 Engine
C4 Engine API Documentation

ShapeObject::GetShapeSubstance

Defined in:  C4Shapes.h
Returns the substance associated with a shape.
Prototype

SubstanceType GetShapeSubstance(voidconst;

Description
The GetShapeSubstance function returns the substance associated with a shape.

The default substance associated with a shape when it is initially created is kSubstanceNone.
See Also

ShapeObject::SetShapeSubstance

MaterialObject::GetFirstRegisteredSubstance

MaterialObject::FindRegisteredSubstance

MaterialObject::RegisterSubstance

Substance