C4 Engine Terathon Software C4 Engine API Documentation

• Physics Manager

API Links
Developer Links

ShapeObject::GetShapeDensity

Defined in:  C4Shapes.h
Returns the density of a shape.
Prototype

float GetShapeDensity(voidconst;

Description
The GetShapeDensity function returns the density of a shape, measured in kilograms per cubic decimeter (kg/dm3), or equivalently, metric tons per cubic meter (Mg/m3).
See Also

ShapeObject::SetShapeDensity