Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


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 13 days ago

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.VRModule
Warning
Deprecated. This is obsolete, and should no longer be used. Please use XRInputSubsystem.TrySetTrackingOriginMode.
public static bool SetTrackingSpaceType(TrackingSpaceType trackingSpaceType)

Parameters

trackingSpaceType

Returns

Type

Description

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