C4 Engine
C4 Engine API Documentation

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 constants.
kShapeBox Box shape.
kShapePyramid Pyramid shape.
kShapeCylinder Cylinder shape.
kShapeCone Cone shape.
kShapeSphere Sphere shape.
kShapeDome Dome shape.
kShapeCapsule Capsule shape.
kShapeTruncatedPyramid Truncated pyramid shape.
kShapeTruncatedCone Truncated cone shape.
kShapeTruncatedDome Truncated dome shape.