RotateCamera()

Syntax

RotateCamera(#Camera, x, y, z [, Mode])
Description
Rotates the camera according to the specified x,y,z angle values.

Parameters

#Camera The camera to rotate.
x, y, z The new rotation to apply to the camera. Angles are in degree, with values 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 camera rotation.  

Return value

None.

Supported OS

All

<- ResizeCamera() - Camera Index - SwitchCamera() ->