Facebook Twitter YouTube

class TruncatedPyramidShape

Defined in:  TSShapes.h
The TruncatedPyramidShape class represents a truncated pyramid shape node in a world.
Definition

class TruncatedPyramidShape : public Shape

Constructor

TruncatedPyramidShape(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 TruncatedPyramidShape class represents a shape node that is shaped like a truncated pyramid whose dimensions are specified by the size, height, and ratio parameters.
Base Classes
Shape A truncated pyramid shape is a specific type of shape.
See Also

TruncatedPyramidShapeObject