Facebook Twitter YouTube

class Zone

Defined in:  TSZones.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);

Parameters
type The zone type. See below for a list of possible types.
Description
The Zone class is the base class for all zone nodes. The type parameter can be one of the following constants, and it is specified by the subclass's constructor.
kZoneInfinite Infinite zone that covers all space.
kZoneBox Zone having the shape of a box.
kZoneCylinder Zone having the shape of a cylinder.
kZonePolygon Zone having the shape of an extruded 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

Wiki Articles

Zones