# DrawWireOverlay(Camera)

> Schedules the drawing of a wireframe overlay for a given Scene view Camera.

## Definition

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

```csharp
public void DrawWireOverlay(Camera camera)
```

### Parameters

**** (\[Camera]\(/engine/6000.0/script-reference/unityengine/camera)): The Scene view Camera to draw the overlay for.

### Remarks

Note that DrawWireOverlay works only in the Unity Editor, when the [Camera.cameraType](/engine/6000.0/script-reference/unityengine/camera/cameratype.md) is set to [CameraType.SceneView](/engine/6000.0/script-reference/unityengine/cameratype/sceneview.md), and the [SceneView.CameraMode.drawMode](/engine/6000.0/script-reference/unityeditor/sceneview/cameramode/drawmode.md) is set to [DrawCameraMode.TexturedWire](/engine/6000.0/script-reference/unityeditor/drawcameramode/texturedwire.md). If these conditions are not met, calling DrawWireOverlay has no effect.

To draw gizmos on top of the wireframe overlay in your Scene view, call DrawWireOverlay and then call [ScriptableRenderContext.DrawGizmos](/engine/6000.0/script-reference/unityengine/rendering/scriptablerendercontext/drawgizmos.md).
