ドキュメント

Unity Engine

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.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

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