Facebook Twitter YouTube

class PyramidShapeObject

Defined in:  TSShapes.h
The PyramidShapeObject class encapsulates data pertaining to a pyramid shape.
Definition

class PyramidShapeObject : public ShapeObject, public PyramidVolume

Constructor

PyramidShapeObject(const Vector2D& size, float height);

Parameters
size The size of the pyramid base.
height The height of the pyramid.
Description
The PyramidShapeObject class encapsulates a physics shape that is a pyramid whose dimensions are specified by the size and height parameters.
Base Classes
ShapeObject A PyramidShapeObject is an object that can be shared by multiple pyramid shape nodes.
PyramidVolume A PyramidShapeObject is represented by a generic pyramid volume.
See Also

PyramidShape