SetTrackingSpaceType(TrackingSpaceType)
Sets the device's current TrackingSpaceType. Returns true on success. Returns false if the given TrackingSpaceType is not supported or the device fails to switch.
Read time 1 minuteLast updated 12 days ago
Definition
- Type: Method
- Namespace: UnityEngine.XR
- Assembly: UnityEngine.XRModule
public static bool SetTrackingSpaceType(TrackingSpaceType trackingSpaceType)
Parameters
Returns
Type | Description |
|---|---|
| bool | True on success. False if the given TrackingSpaceType is not supported or the device fails to switch. |