A source of light emission. Lights up only the Geometry that appears in the section of the hierarchy beneath the object to which the Light Source is attached.
A Light Source must specify 3 colors (Ambient, Diffuse, Specular).
An optional Control Link can also be used to allow the light source to be turned on or off.
The scoping concept used for lights can be taken further as other volumetric effects such as fog and sound are considered.
| SE_BOOLEAN | apply_to_children; | (notes) |
|---|---|---|
| SE_BOOLEAN | override_positional_lights; | (notes) |
| SE_BOOLEAN | override_infinite_lights; | (notes) |
| SE_BOOLEAN | active_light_value; | (notes) |
Flag to allow lights to limit their scope to only affecting their children. If apply_to_children is False then the light is assumed to apply globally.
Flag to reset the current cumulative definition of local Light_Sources If override_positional_lights is True then all Positional Light Sources in the current scope are cleared.
Flag to reset the current cumulative definition of Infinite Light_Sources. If override_infinite_lights is True then all Positional Light Sources in the current scope are cleared.
SE_TRUE = on, SE_FALSE = off this is the default/active state of the light