Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


XRNode

Enumeration of XR nodes which can be updated by XR input or sent haptic data.
Read time 1 minuteLast updated 4 days ago

Definition

public enum XRNode

Remarks

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.

Fields

Value

Description

CenterEyeNode representing a point between the left and right eyes.
GameControllerRepresents a tracked game Controller not associated with a specific hand.
HardwareTrackerRepresents a physical device that provides tracking data for objects to which it is attached.
HeadNode representing the user's head.
LeftEyeNode representing the left eye.
LeftHandNode representing the left hand.
RightEyeNode representing the right eye.
RightHandNode representing the right hand.
TrackingReferenceRepresents a stationary physical device that can be used as a point of reference in the tracked area.