CameraDirectionY()

语法

Result = CameraDirectionY(#Camera [, Mode])
概要
Returns the 'y' direction vector of the camera.

参数

#Camera The camera to use.
Mode (optional) The mode to get the 'y' direction vector. It can be one of the following value:
  #PB_Absolute: get the absolute 'y' direction vector of the camera in the world (default).
  #PB_Relative: get the 'y' direction vector of the camera relative to its parent.

返回值

Returns the 'y' direction vector of the camera. . This value is always between -1.0 and 1.0.

已支持操作系统

所有

<- CameraDirectionX() - Camera Index - CameraDirectionZ() ->