CameraFixedYawAxis()

Syntax

CameraFixedYawAxis(#Camera, Enable [, VectorX, VectorY, VectorZ])
Description
Change the fixed yaw axis of the camera. The default behaviour of a camera is to yaw around its own Y axis.

Parameters

#Camera The camera to use.
Enable Enable or disable the use of a custom yaw axis. If set to #True, a new axis vector has to be specified. If set to #False, the camera will yaw around its own Y axis.
VectorX (optional) 'x' vector direction of the new yaw axis (usually a value between -1.0 and 1.0, if not it will be automatically normalized). 'Enable' parameter has to be set to have any effect.
VectorY (optional) 'y' vector direction of the new yaw axis (usually a value between -1.0 and 1.0, if not it will be automatically normalized). 'Enable' parameter has to be set to have any effect.
VectorZ (optional) 'z' vector direction of the new yaw axis (usually a value between -1.0 and 1.0, if not it will be automatically normalized). 'Enable' parameter has to be set to have any effect.

Return value

None.

Supported OS

All

<- CameraFOV() - Camera Index - CameraFollow() ->