Documentation

Unity Engine


Unity Engine


GetTrackingSpaceType()

Returns the device's current TrackingSpaceType. This value determines how the camera is positioned relative to its starting position. For more, see the section "Understanding the camera" in VROverview.
Read time 1 minuteLast updated a month ago

Definition

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

Returns

Type

Description

TrackingSpaceTypeThe device's current TrackingSpaceType.