|
World Manager
C4Portals.h
class Portal
The Portal class represents a portal node in a scene graph.
Definition
class Portal : public Node, public ListElement<Portal>
Member Functions
Constructor
Portal(PortalType type);
The constructor has protected access. The Portal class can only exist as the base class for a more specific type of portal.
Parameters
type |
The portal type. See below for a list of possible types.
|
Description
kPortalDirect |
An ordinary portal that leads from one zone to another.
|
kPortalRemote |
A portal having a remote transform. This is used for mirrors and portals through which remote areas of the world can be seen.
|
kPortalOcclusion |
An occluder, or antiportal, that blocks objects behind it from the perspective of the camera.
|
Base Classes
Node |
A Portal node is a scene graph node.
|
ListElement<Portal> |
Each zone has a list of portals that lead out of the zone.
|
See Also
PortalObject
Zone
|