Portalclass represents a portal node in a world.
class Portal : public Node, public ListElement<Portal>
||Returns the portal type.|
||Returns the world-space plane containing the portal.|
||Returns the world-space vertex array defining the boundary of the portal.|
||Returns the zone to which the portal is connected.|
||Sets the zone to which the portal is connected.|
||The portal type. See below for a list of possible types.|
Portalclass is the base class for all portal nodes. The
typeparameter can be one of the following constants, and it is specified by the subclass's constructor.
||Ordinary portal that leads from one zone to another through a polygonal boundary.|
||Portal having an indirect transform. This is used for rendering into the reflection and refraction buffers for things like mirrors and portals through which remote areas of the world can be seen.|
||Special portal used internally for camera widgets in panel effects.|
||Occluder, or antiportal, that blocks objects behind it from the perspective of the camera.|
||Each zone has a list of portals that lead out of the zone.|