# DrawFrustum(Vector3, float, float, float, float)

> Draw a camera frustum using the currently set Gizmos.matrix for its location and rotation.

## Definition

* **Type:** Method
* **Namespace:** [UnityEngine](/engine/6000.0/script-reference/unityengine.md)
* **Assembly:** UnityEngine.CoreModule

```csharp
public static void DrawFrustum(Vector3 center, float fov, float maxRange, float minRange, float aspect)
```

### Parameters

**** (\[Vector3]\(/engine/6000.0/script-reference/unityengine/vector3)): The apex of the truncated pyramid.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Vertical field of view (ie, the angle at the apex in degrees).**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Distance of the frustum's far plane.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Distance of the frustum's near plane.**** (\[float]\(https\://learn.microsoft.com/dotnet/api/system.single)): Width/height ratio.
