# XRDevice

> Contains all functionality related to a XR device.

## Definition

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

> **Warning:**
>
> **Deprecated.** UnityEngine.VRModule is deprecated and will be removed in a future version. Please use the APIs in the UnityEngine.XRModule instead

```csharp
public static class XRDevice
```
