# eyeTextureHeight

> The current height of an eye texture for the loaded device.

## Definition

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

```csharp
public static int eyeTextureHeight { get; }
```

### Remarks

This value will be the product of the default eye texture size for the HMD and [XRSettings.eyeTextureResolutionScale](/engine/6000.0/script-reference/unityengine/xr/xrsettings/eyetextureresolutionscale.md). If XR isn't enabled this value will be zero.
