# ClearCamera(Rect, Camera)

> Clears the camera.

## Definition

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

```csharp
public static void ClearCamera(Rect position, Camera camera)
```

### Parameters

**** (\[Rect]\(/engine/6000.3/script-reference/unityengine/rect)): Where in the Scene to clear.**** (\[Camera]\(/engine/6000.3/script-reference/unityengine/camera)): The camera to clear.

### Remarks

The camera used by the Handle class is cleared before being used.  This may happen, for example, before `DrawCamera` is used.
