SpatialCameraRotationMode

Camera Service

Enum

The method of rotation for the actor camera with respect to player inputs. How should the camera be controlled?

Properties

AutoRotate

Automatic rotation as player moves.

DragToRotate

Left mouse button or touch rotation.

PointerLock_Locked

Locked to the cursor. Note that this mode is meant to be used for desktop/mouse-based devices (such as Web). Browsers don't allow you to enter PointerLock mode without a user interaction, so this mode will show a UI element to the user to click on to enter PointerLock mode.

PointerLock_Unlocked

Cursor is unlocked, but next non-ui click returns to PointerLock.