Cerberus X Documentation

Interface ILight

Declarations

Methods
LightColor : Float[] () Get 4 component light color.
LightImage : Image () Get image used for textured lighting.
LightMatrix : Float[] () Get 4x4 light matrix.
LightRange : Float () Get light range.
LightType : Int () Get light type - 0 for disabled, 1 for point light.

Methods Documentation

Method LightColor : Float[] ()

Get 4 component light color.

Method LightImage : Image ()

Get image used for textured lighting.

The image should use the LightMaskShader shader.

Method LightMatrix : Float[] ()

Get 4x4 light matrix.

Method LightRange : Float ()

Get light range.

Method LightType : Int ()

Get light type - 0 for disabled, 1 for point light.