C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

class Zone

Defined in:  C4Zones.h
The Zone class represents a zone node in a world.
Definition

class Zone : public Node, public ListElement<Zone>

Member Functions
Zone::GetZoneType Returns the type of a zone.
Constructor

Zone(ZoneType type);

The constructor has protected access. The Zone class can only exist as the base class for a more specific type of zone.
Parameters
type The zone type. See below for a list of possible types.
Description


kZoneInfinite Infinite zone that covers all space.
kZoneBox Box-shaped zone.
kZoneCylinder Cylinder-shaped zone.
kZoneDome Dome-shaped zone.
kZonePolygon Zone whose base is a convex polygon.
Base Classes
Node A Zone node is a scene graph node.
ListElement<Zone> Each zone has a list of its subzones.
See Also

ZoneObject

Portal