Version: 2018.4
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 XR nodes which can be updated by XR input or sent haptic data.

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. Note: Only XR nodes with valid haptic devices as endpoints can be sent haptic data.

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.