ShapeObject::SetShapeDensity
Defined in:
Sets the density of a shape.
C4Shapes.hPrototype
void SetShapeDensity(float density);
Parameters
density |
The new density. |
Description
The SetShapeDensity function sets the density of a shape to the value specified by the density parameter. Density is measured in kilograms per cubic decimeter (kg/dm3), or equivalently, metric tons per cubic meter (Mg/m3).By default, a shape has a density of 1.0 kg/dm3.
See Also
