# viewport

> Selects the viewport of the output texture renderTarget.

## Definition

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

```csharp
public Rect viewport
```
