C4 Engine
C4 Engine API Documentation

PortalObject::GetPortalType

Defined in:  C4Portals.h
Returns the portal type.
Prototype

PortalType GetPortalType(voidconst;

Description
The GetPortalType function returns the 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.