Portal::GetPortalType
Defined in:
Returns the portal type.
C4Portals.h
Prototype
PortalType GetPortalType(void) const;
Description
The GetPortalType
function returns the specific portal type, which can be one of the following constants.
kPortalDirect |
Ordinary portal that leads from one zone to another through a polygonal boundary. |
kPortalIndirect |
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. |
kPortalCamera |
Special portal used internally for camera widgets in panel effects. |
kPortalOcclusion |
Occluder, or antiportal, that blocks objects behind it from the perspective of the camera. |