CameraX()

语法

Result = CameraX(#Camera [, Mode])
概要
Returns the current 'x' position of the camera in the world.

参数

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

返回值

Returns the 'x' position of the camera.

参阅

CameraY(), CameraZ(), MoveCamera()

已支持操作系统

所有

<- CameraViewY() - Camera Index - CameraY() ->