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

Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

XRDevice.GetTrackingSpaceType

public static XR.TrackingSpaceType GetTrackingSpaceType();

Returns

TrackingSpaceType The device's current TrackingSpaceType.

Description

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.

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