GetLightColor()

Syntax

Result = GetLightColor(#Light, Type)
Description
Gets the specified light color value.

Parameters

#Light The light to use.
Type The color type to get. It can be one of the following value:
  #PB_Light_DiffuseColor : get the diffuse color value.
  #PB_Light_SpecularColor: get the specular color value.

Return value

The specified light RGB color value.

See Also

SetLightColor()

Supported OS

All

<- FreeLight() - Light Index - HideLight() ->