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

XRNode

enumeration

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Description

Enumeration of tracked XR nodes which can be updated by XR input.

Note: The types GameController, TrackingReference, and HardwareTracker are considered non-singleton nodes, as there can be many of each available. As a result, InputTracking.GetLocalPosition, and InputTracking.GetLocalRotation will not work with those values. Please use InputTracking.GetNodeStates instead.

Properties

LeftEyeNode representing the left eye.
RightEyeNode representing the right eye.
CenterEyeNode representing a point between the left and right eyes.
HeadNode representing the user's head.
LeftHandNode representing the left hand.
RightHandNode representing the right hand.
GameControllerRepresents a tracked game Controller not associated with a specific hand.
TrackingReferenceRepresents a stationary physical device that can be used as a point of reference in the tracked area.
HardwareTrackerRepresents a physical device that provides tracking data for objects to which it is attached.
对文档有任何疑问,请移步至开发者社区提问,我们将尽快为您解答