文档

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.
阅读时间1 分钟最后更新于 1 个月前

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.VRModule
警告
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.