C4 Engine
C4 Engine API Documentation

class PyramidShape

Defined in:  C4Shapes.h
The PyramidShape class represents a pyramid shape node in a world.
Definition

class PyramidShape : public Shape

Constructor

PyramidShape(const Vector2D& size, float height);

Parameters
size The size of the pyramid base.
height The height of the pyramid.
Description
The PyramidShape class represents a shape node that is shaped like a pyramid whose dimensions are specified by the size and height parameters.
Base Classes
Shape A pyramid shape is a specific type of shape.
See Also

PyramidShapeObject