# XRNode

> Enumeration of XR nodes which can be updated by XR input or sent haptic data.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEngine.XR](/engine/6000.0/script-reference/unityengine/xr.md)
* **Assembly:** UnityEngine.XRModule

```csharp
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](/engine/6000.0/script-reference/unityengine/xr/inputtracking/getlocalposition.md), and [InputTracking.GetLocalRotation](/engine/6000.0/script-reference/unityengine/xr/inputtracking/getlocalrotation.md) will not work with those values.  Please use [InputTracking.GetNodeStates](/engine/6000.0/script-reference/unityengine/xr/inputtracking/getnodestates.md) instead. **Note:** Only XR nodes with valid haptic devices as endpoints can be sent haptic data.

## Fields

| Value                                                                                           | Description                                                                                           |
| ----------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------- |
| [CenterEye](/engine/6000.0/script-reference/unityengine/xr/xrnode/centereye.md)                 | Node representing a point between the left and right eyes.                                            |
| [GameController](/engine/6000.0/script-reference/unityengine/xr/xrnode/gamecontroller.md)       | Represents a tracked game Controller not associated with a specific hand.                             |
| [HardwareTracker](/engine/6000.0/script-reference/unityengine/xr/xrnode/hardwaretracker.md)     | Represents a physical device that provides tracking data for objects to which it is attached.         |
| [Head](/engine/6000.0/script-reference/unityengine/xr/xrnode/head.md)                           | Node representing the user's head.                                                                    |
| [LeftEye](/engine/6000.0/script-reference/unityengine/xr/xrnode/lefteye.md)                     | Node representing the left eye.                                                                       |
| [LeftHand](/engine/6000.0/script-reference/unityengine/xr/xrnode/lefthand.md)                   | Node representing the left hand.                                                                      |
| [RightEye](/engine/6000.0/script-reference/unityengine/xr/xrnode/righteye.md)                   | Node representing the right eye.                                                                      |
| [RightHand](/engine/6000.0/script-reference/unityengine/xr/xrnode/righthand.md)                 | Node representing the right hand.                                                                     |
| [TrackingReference](/engine/6000.0/script-reference/unityengine/xr/xrnode/trackingreference.md) | Represents a stationary physical device that can be used as a point of reference in the tracked area. |
