Defined in:Sets the light flags.
void SetLightFlags(uint32 flags);
||The new light flags.|
SetLightFlagsfunction sets the light flags to the value specified by the
flagsparameter, which can be a combination (through logical OR) of the following constants.
||The light is static (does not move).|
||The light does not cast shadows.|
||The light generates a projected texture.|
||The light can be combined with ambient lighting to produce unified shaders (infinite light only).|
||The light does not shine through portals.|
||The light is confined to a small sphere (point light only).|
||If the light is not directly connected to a shadow space, then it should use the shadow space connected by an instance super node.|
||The atmospheric shadowing effect is rendered for the light (infinite light only). Ignored if the |
||The light's illumination tree should be rooted only in zones that connect to it and not its containing zone (infinite light only).|
kLightGeneratorflag only pertains to depth lights, cube lights, and spot lights. It indicates that a projected texture should be generated for a light during the development process.