---
title: UnityEngine.VRModule
product: Unity Editor
version: '6000.0'
latest_version: '7000.0'
status: This page documents version 6000.0. The latest version is 7000.0.
canonical: https://docs.unity.com/en-us/engine/6000.0/script-reference/modules/unityengine-vrmodule
latest_url: https://docs.unity.com/en-us/engine/7000.0/script-reference/modules/unityengine-vrmodule.md
last_updated: 2026-12-05
generated_at: 2026-12-05T02:09:15.281Z
locale: en-us
---

# UnityEngine.VRModule

> The VR module implements support for virtual reality devices in Unity.

## Definition

* **Type:** Module

## Classes

| Class                                                                      | Description                                        |
| -------------------------------------------------------------------------- | -------------------------------------------------- |
| [XRDevice](/engine/6000.0/script-reference/unityengine/xr/xrdevice.md)     | Contains all functionality related to a XR device. |
| [XRSettings](/engine/6000.0/script-reference/unityengine/xr/xrsettings.md) | Global XR related settings.                        |
| [XRStats](/engine/6000.0/script-reference/unityengine/xr/xrstats.md)       | Timing and other statistics from the XR subsystem. |

## Enums

| Enum                                                                                       | Description                                                                                                                                                          |
| ------------------------------------------------------------------------------------------ | -------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [GameViewRenderMode](/engine/6000.0/script-reference/unityengine/xr/gameviewrendermode.md) | Enumeration of available modes for XR rendering in the Game view or in the main window on a host PC. XR rendering only occurs when the Unity Editor is in Play Mode. |
