Facebook Twitter YouTube

class CylinderShapeObject

Defined in:  TSShapes.h
The CylinderShapeObject class encapsulates data pertaining to a cylinder shape.
Definition

class CylinderShapeObject : public ShapeObject, public CylinderVolume

Constructor

CylinderShapeObject(const Vector2D& size, float height);

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

CylinderShape