PortalObject::GetPortalFlags
Defined in: C4Portals.h
Returns the portal flags.
Prototype
unsigned_int32 GetPortalFlags(void) const;
Description
The GetPortalFlags function returns the portal flags, which can a combination (through logical OR) of the following values.
kPortalLightInhibit |
No lights shine through the portal.
|
kPortalStaticLightInhibit |
Only dynamic lights shine through the portal.
|
kPortalShadowMapInhibit |
Portal is not followed when rendering a shadow map.
|
kPortalFogInhibit |
Do not apply fog through the portal (direct portal only).
|
kPortalSkyboxInhibit |
Do not render the skybox through the portal (remote portal only).
|
kPortalOverrideClearColor |
Override the camera clear color when rendering through the portal (remote portal only).
|
kPortalSeparateShadowMap |
Any shadow map rendered through the portal is not reused (remote portal only, refraction buffer only).
|
kPortalAllowRemoteLight |
Allow lights to shine through the portal (remote portal only).
|
kPortalObliqueFrustum |
Use an oblique view frustum when rendering through the portal (remote portal only).
|
kPortalRecursive |
Allow the portal to be rendered recursively (remote portal only).
|
kPortalDistant |
Render only infinitely distant objects, like the skybox, through the portal (remote portal only).
|
See Also
PortalObject::SetPortalFlags
|