# cameraViewport

> The position and size of the area that the camera renders.

## Definition

* **Type:** Property
* **Namespace:** [UnityEditor](/engine/6000.7/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
public Rect cameraViewport { get; }
```

### Remarks

This returns a rect. The rect accounts for any offset that [Overlay](/engine/6000.7/script-reference/unityeditor/overlays/overlay.md) toolbars introduce.
