Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

XRDevice.SetTrackingSpaceType

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.

Did you find this page useful? Please give it a rating: