# GetFrustumAspectRatio(Camera)

> Calculate the frustrum aspect ratio of a camera.

## Definition

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

```csharp
public static float GetFrustumAspectRatio(Camera camera)
```

### Parameters

**** (\[Camera]\(/engine/6000.3/script-reference/unityengine/camera)): Camera to use.

### Returns

| Type                                                          | Description                                       |
| ------------------------------------------------------------- | ------------------------------------------------- |
| [float](https://learn.microsoft.com/dotnet/api/system.single) | The frustrum aspect ratio of the provided camera. |
