MoveLight()

Syntax

MoveLight(#Light, x, y, z [, Mode])
Description
Moves the specified light.

Parameters

#Light The light to use.
x, y, z The new position of the light.
Mode (optional) The move mode. It can be one of the following values:
  #PB_Relative: relative move, from the current light position (default).
  #PB_Absolute: absolute move to the specified position.
combined with one of the following values:
  #PB_Local : local move.
  #PB_Parent: move relative to the parent position.
  #PB_World : move relative to the world.

Return value

None.

See Also

RotateLight()

Supported OS

All

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