C4 Engine
C4 Engine API Documentation

class TruncatedDomeShapeObject

Defined in:  C4Shapes.h
The TruncatedDomeShapeObject class encapsulates data pertaining to a truncated dome shape.
Definition

class TruncatedDomeShapeObject : public ShapeObject, public TruncatedDomeVolume

Constructor

TruncatedDomeShapeObject(const Vector2D& size, float height, float ratio);

Parameters
size The size of truncated dome base.
height The height of the truncated dome.
ratio The ratio of the size of the top face to the size of the bottom face (base) of the truncated dome.
Description
The TruncatedDomeShapeObject class encapsulates a physics shape that is a truncated dome whose dimensions are specified by the size, height, and ratio parameters.
Base Classes
ShapeObject A TruncatedDomeShapeObject is an object that can be shared by multiple truncated dome shape nodes.
TruncatedDomeVolume A TruncatedDomeShapeObject is represented by a generic truncated dome volume.
See Also

TruncatedDomeShape