C4 Engine
C4 Engine API Documentation

class BoxGeometryObject

Defined in:  C4Primitives.h
The BoxGeometryObject class encapsulates data pertaining to a box primitive.
Definition

class BoxGeometryObject final : public PrimitiveGeometryObject

Member Functions
BoxGeometryObject::GetBoxSize Returns the box size.
BoxGeometryObject::SetBoxSize Sets the box size.
Constructor

BoxGeometryObject(const Vector3D& size);

Parameters
size The size of the box.
Description
The BoxGeometryObject class encapsulates data pertaining to a box primitive. In its local coordinate space, a box primitive has one of its corners at the origin, and the components of the size parameter define the extents of the box in the positive x, y, and z directions.
Base Classes
PrimitiveGeometryObject A BoxGeometryObject is an object that can be shared by multiple box geometry nodes.
See Also

BoxGeometry