RotateLight()

Syntax

RotateLight(#Light, x, y, z [, Mode])
Description
Rotates the #Light according to the specified x,y,z angle values.

Parameters

#Light The light to use.
x, y, z The new rotation to apply to the light. Values are in degree ranging from 0 to 360.
Mode (optional) It can be one of the following value:
  #PB_Absolute: absolute rotation (default).
  #PB_Relative: relative rotation based on the previous light rotation.    

Return value

None.

Supported OS

All

<- MoveLight() - Light Index - SetLightColor() ->