C4 Engine Terathon Software C4 Engine API Documentation

• World Manager

API Links
Developer Links

Portal::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 values.
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.
kPortalCamera A special portal used internally for camera widgets in panel effects.
kPortalOcclusion An occluder, or antiportal, that blocks objects behind it from the perspective of the camera.