ShapeObject::SetShapeSubstance
Defined in:
Sets the substance associated with a shape.
C4Shapes.hPrototype
void SetShapeSubstance(SubstanceType substance);
Parameters
substance |
The new shape substance. |
Description
The SetShapeSubstance function sets the substance associated with a shape.The default substance associated with a shape when it is initially created is
kSubstanceNone.
See Also
ShapeObject::GetShapeSubstance
MaterialObject::GetFirstRegisteredSubstance
MaterialObject::FindRegisteredSubstance
