C4 Engine
C4 Engine API Documentation

class BoxVolume

Defined in:  C4Volumes.h
The BoxVolume class encapsulates data pertaining to a generic box volume.
Definition

class BoxVolume : public Volume

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

BoxVolume(const Vector3D& size);

Parameters
size The size of the box.
Description
The BoxVolume class encapsulates the physical dimensions of a generic box-shaped volume and functionality that is used by various subclasses throughout the engine.

One corner of the box coincides with the origin, and the three components of the size parameter correspond to the dimensions of the box along the positive x, y, and z axes.
Base Classes
Volume A BoxVolume is a generic volume.