Version: 2018.1

XRDevice.SetTrackingSpaceType

Switch to Manual
public static bool SetTrackingSpaceType (XR.TrackingSpaceType trackingSpaceType);

Parameters

TrackingSpaceTypeThe TrackingSpaceType the device should switch to.

Returns

bool True on success. False if the given TrackingSpaceType is not supported or the device fails to switch.

Description

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.