# OnGUI(Rect)

> A callback used for drawing the GUI controls of the SceneViewCameraWindow window.

## Definition

* **Type:** Method
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
public override void OnGUI(Rect rect)
```

### Parameters

**** (\[Rect]\(/engine/6000.0/script-reference/unityengine/rect)): The rectangle where the GUI controls are drawn.
