# GetAllSceneCameras()

> Retrieves an array of all SceneView.camera components from all open Scene views.

## Definition

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

```csharp
public static Camera[] GetAllSceneCameras()
```

### Returns

| Type                                                                | Description                            |
| ------------------------------------------------------------------- | -------------------------------------- |
| [Camera\[\]](/engine/6000.3/script-reference/unityengine/camera.md) | Returns an array of camera components. |
