# zNear

> Set DisplaySubsystem to use zNear for rendering.

## Definition

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

```csharp
public float zNear { get; set; }
```

### Remarks

zNear is the near plan in meters from the main camera. ZFar and ZNear are used for explicit XR depth buffer sharing.
