C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

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);

The constructor has protected access. The SpaceObject class can only exist as the base class for another class.
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


kSpaceFog A fog space.
kSpaceShadow A shadow space.
kSpaceAmbient An ambient space.
kSpaceAcoustics An acoustics space.
kSpaceOcclusion An occlusion space.
kSpacePaint A paint 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