기술 자료

Unity Engine

Unity Engine

TrySetTrackingOriginMode(TrackingOriginModeFlags)

Attempts to set the TrackingOriginModeFlags of the subsystem.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule
public bool TrySetTrackingOriginMode(TrackingOriginModeFlags origin)

Parameters

The new TrackingOriginModeFlags that you'd like to change to.

Returns

Type

Description

boolTrue if the method changes the origin. Returns false otherwise.

Remarks

See XRInputSubsystem.GetSupportedTrackingOriginModes in order to see what modes this individual XRInputSubsystem supports, and XRInputSubsystem.GetTrackingOriginMode to see the current mode.