Facebook Twitter YouTube

class TruncatedConeShape

Defined in:  TSShapes.h
The TruncatedConeShape class represents a truncated cone shape node in a world.
Definition

class TruncatedConeShape : public Shape

Constructor

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

Parameters
size The size of truncated cone base.
height The height of the truncated cone.
ratio The ratio of the size of the top face to the size of the bottom face (base) of the truncated cone.
Description
The TruncatedConeShape class represents a shape node that is shaped like a truncated cone whose dimensions are specified by the size, height, and ratio parameters.
Base Classes
Shape A truncated cone shape is a specific type of shape.
See Also

TruncatedConeShapeObject