# DrawSkybox(Camera)

> Schedules the drawing of the skybox.

## Definition

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

> **Warning:**
>
> **Deprecated.** DrawSkybox is obsolete and replaced with the RendererList API: construct a RendererList using ScriptableRenderContext.CreateSkyboxRendererList and execture it using CommandBuffer.DrawRendererList.

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

### Parameters

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