Defines the movement behavior of a CameraItem.
fly - Camera can flywalk - Camera can be walk over the ground and itemsfixed_position - Movement is disabled. Camera can only rotatefixed - Movement and rotation are disabledorbit - Camera rotates around a fixed pointpan_zoom - Camera moves and zooms without rotationDefines the Camera collision height.
Defines the Camera collision radius.
Defines the CameraItem that the client is currently looking through.
If no CameraItem is focused, this returns null.
Defines the Camera falling speed when walk MovementType is used.
Defines the jump velocity of the Camera when walk MovementType is used.
Camera jumping is not supported in AR and VR ViewMode.
Locks the mouse pointer and binds camera-turning to mouse movement.
To exit locked mouse pointer state, press ESC key.
Only available on platforms that support mouse input.
Toggles Camera collision with physics-enabled items.
Defines the maximum slope angle which the Camera can climb up and down.
Defines the maximum angle at which the Camera can stay on a slope without sliding down.
Readonly Transform of the client Camera.
To move the Camera by script, use the editable Transform of CameraItem.
Replaces default CameraItem movement and binds it to the specified set of KeyCode buttons.
Note
orbit mode is not affected by look... parametersfixed_position mode is not affected by move... parametersjump is only bound to walk mode with enabled camera collisionflyUp and flyDown is only bound to fly mode
Client camera and CameraItem controls.
The client camera uses ReadonlyTransform. Its position and orientation can not be modified. To manipulate the client camera rotation and position programmatically, use CameraItem.