C4 Engine Terathon Software C4 Engine API Documentation

• Graphics Manager

API Links
Developer Links

LightObject::GetLightFlags

Defined in:  C4LightObjects.h
Returns the light flags.
Prototype

unsigned long GetLightFlags(voidconst;

Description
The GetLightFlags function returns the light flags, which can be a combination (through logical OR) of the following values.
kLightStatic Light is static (does not move).
kLightShadowInhibit Light does not cast shadows.
kLightGenerator Light generates a projected shadow.
kLightExternalZone The light's position may temporarily be outside its owning zone.
kLightConfined The light is confined to a small sphere (point light only).
kLightInstanceShadowSpace The light should use the shadow space connected by an instance super node.
See Also

LightObject::SetLightFlags