class TruncatedPyramidShapeObject
Defined in:  
The C4Shapes.hTruncatedPyramidShapeObject class encapsulates data pertaining to a truncated pyramid shape.
Definition
class TruncatedPyramidShapeObject : public ShapeObject, public TruncatedPyramidVolume
Constructor
TruncatedPyramidShapeObject(const Vector2D& size, float height, float ratio);
Parameters
size | 
The size of truncated pyramid base. | 
height | 
The height of the truncated pyramid. | 
ratio | 
The ratio of the size of the top face to the size of the bottom face (base) of the truncated pyramid. | 
Description
The TruncatedPyramidShapeObject class encapsulates a physics shape that is a truncated pyramid whose dimensions are specified by the size, height, and ratio parameters.
Base Classes
ShapeObject | 
A TruncatedPyramidShapeObject is an object that can be shared by multiple truncated pyramid shape nodes.
 | 
TruncatedPyramidVolume | 
A TruncatedPyramidShapeObject is represented by a generic truncated pyramid volume.
 | 
See Also
