C4 Engine
C4 Engine API Documentation

class SpaceObject

Defined in:  C4SpaceObjects.h
The SpaceObject class encapsulates data pertaining to a space.
Definition

class SpaceObject : public Object, public VolumeObject

Member Functions
SpaceObject::GetSpaceType Returns the specific type of a space.
Constructor

SpaceObject(SpaceType type, Volume *volume);

Parameters
type The type of the space. See below for a list of possible types.
volume A pointer to the generic volume object representing the space.
Description
The SpaceObject class is the base class for all types of space objects, and it stores data that is common to all of them. Each specific type of space has an associated object that is a subclass of the SpaceObject class.

A space object can have one of the following types.
kSpaceFog Fog space.
kSpaceShadow Shadow space.
kSpaceIlluminance Illuminance space.
kSpaceAcoustics Acoustics space.
kSpaceOcclusion Occlusion space.
kSpacePaint Paint space.
kSpacePhysics Physics space.
kSpaceVisual Visual space.
Base Classes
Object A SpaceObject is an object that can be shared by multiple space nodes.
VolumeObject Used internally by the engine for generic volume objects.
See Also

Space

Wiki Articles

Spaces