C4 Engine
C4 Engine API Documentation

class ConeShapeObject

Defined in:  C4Shapes.h
The ConeShapeObject class encapsulates data pertaining to a cone shape.
Definition

class ConeShapeObject : public ShapeObject, public ConeVolume

Constructor

ConeShapeObject(const Vector2D& size, float height);

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

ConeShape