기술 자료

Unity Engine

Unity Engine

TryGetPosition(out Vector3)

Attempt to retrieve a vector representing the current position of the tracked node.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

  • Type: Method
  • Namespace: UnityEngine.XR
  • Assembly: UnityEngine.XRModule

TryGetPosition(Vector3)

public bool TryGetPosition(out Vector3 position)

Parameters

position

Returns

Type

Description

boolTrue if the position was set in the output parameter. False if the position is not available due to limitations of the underlying platform or if the node is not presently tracked.