Method group is Obsolete

XRDevice.SetTrackingSpaceType

Obsolete This is obsolete, and should no longer be used. Please use XRInputSubsystem.TrySetTrackingOriginMode.

Declaration

public static bool SetTrackingSpaceType(TrackingSpaceType trackingSpaceType);

Parameters

TrackingSpaceType The 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: