C4 Engine
C4 Engine API Documentation

class BoxShapeObject

Defined in:  C4Shapes.h
The BoxShapeObject class encapsulates data pertaining to a box shape.
Definition

class BoxShapeObject : public ShapeObject, public BoxVolume

Constructor

BoxShapeObject(const Vector3D& size);

Parameters
size The size of the box.
Description
The BoxShapeObject class encapsulates a physics shape that is a box whose dimensions are specified by the size parameter.
Base Classes
ShapeObject A BoxShapeObject is an object that can be shared by multiple box shape nodes.
BoxVolume A BoxShapeObject is represented by a generic box volume.
See Also

BoxShape