Light

The Light block contains all of the information relating to a single light within the scene

The Light block contains all of the information relating to a single light within the scene.

The Identifier for this block is: 2011

This block contains a number of sub-blocks which store various properties of the light object. This blocks are listed below.

Name Description
Light Colour The colour of the light (see Light Colour).
Light Type The type of the light, such as a point, directional, spot, and so on (see Light Type).
Constant Attenuation The constant attenuation of the light (see Constant Attenuation).
Linear Attenuation The linear attenuation of the light (see Linear Attenuation).
Quadratic Attenuation The quadratic attenuation of the light (see Quadratic Attenuation).
Falloff Angle The falloff angle of the light (in radians) (see Falloff Angle).
Falloff Exponent The falloff exponent of the light (see Falloff Exponent).
Target Object Index The index into the node array of the object the light should target (see Target Object Index).