set_tracking_mode
Adjust XREAL glasses tracking mode between rotation-only, positional, or full 6DoF, with optional recentering and origin selection.
Instructions
Sets the tracking mode for the XREAL glasses. 0DoF provides rotation only, 3DoF adds positional tracking relative to start, and 6DoF provides full positional and rotational tracking.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mode | Yes | Tracking mode to set | |
| trackingOrigin | No | Tracking origin reference point | Device |
| recenterOnSwitch | No | Recenter the tracking origin when switching modes |