C4 Engine Terathon Software C4 Engine API Documentation

• Physics Manager

API Links
Developer Links

Shape::GetShapeType

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

ShapeType GetShapeType(voidconst;

Description
The GetShapeType function returns the specific shape type, which can be one of the following values.
kShapeBox A box shape.
kShapePyramid A pyramid shape.
kShapeCylinder A cylinder shape.
kShapeCone A cone shape.
kShapeSphere A sphere shape.
kShapeDome A dome shape.
kShapeCapsule A capsule shape.
kShapeTruncatedPyramid A truncated pyramid shape.
kShapeTruncatedCone A truncated cone shape.
kShapeTruncatedDome A truncated dome shape.