SetLightColor()

Syntax

SetLightColor(#Light, Type, Color)
Description
Changes the light color value.

Parameters

#Light The light to use.
Type The color type to change. It can be one of the following value:
  #PB_Light_DiffuseColor : change the diffuse color.
  #PB_Light_SpecularColor: change the specular color.
Color The new RGB color value. It can be easily created with RGB().

Return value

None.

See Also

GetLightColor()

Supported OS

All

<- RotateLight() - Light Index - SpotLightRange() ->