# CreateSkyboxRendererList

> Creates a new skybox RendererList.

## Definition

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

## CreateSkyboxRendererList(Camera, Matrix4x4, Matrix4x4, Matrix4x4, Matrix4x4)

Creates a new skybox [RendererList](/engine/6000.0/script-reference/unityengine/rendering/rendererlist.md).

```csharp
public RendererList CreateSkyboxRendererList(Camera camera, Matrix4x4 projectionMatrixL, Matrix4x4 viewMatrixL, Matrix4x4 projectionMatrixR, Matrix4x4 viewMatrixR)
```

### Parameters

**** (\[Camera]\(/engine/6000.0/script-reference/unityengine/camera)): The camera that is used for rendering the skybox.**** (\[Matrix4x4]\(/engine/6000.0/script-reference/unityengine/matrix4x4)): The left eye projection matrix used during Legacy single pass XR rendering of the skybox.**** (\[Matrix4x4]\(/engine/6000.0/script-reference/unityengine/matrix4x4)): The left eye view matrix used during Legacy single pass XR rendering of the skybox.**** (\[Matrix4x4]\(/engine/6000.0/script-reference/unityengine/matrix4x4)): The right eye projection matrix used during Legacy single pass XR rendering of the skybox.**** (\[Matrix4x4]\(/engine/6000.0/script-reference/unityengine/matrix4x4)): The right eye view matrix used during Legacy single pass XR rendering of the skybox.

### Returns

| Type                                                                                  | Description                                                   |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------- |
| [RendererList](/engine/6000.0/script-reference/unityengine/rendering/rendererlist.md) | Returns a new RendererList based on the settings you pass in. |

### Remarks

A [RendererList](/engine/6000.0/script-reference/unityengine/rendering/rendererlist.md) represents a set of draw commands. To draw the skybox in a RendererList, add the [CommandBuffer.DrawRendererList](/engine/6000.0/script-reference/unityengine/rendering/commandbuffer/drawrendererlist.md) command to a [CommandBuffer](/engine/6000.0/script-reference/unityengine/rendering/commandbuffer.md).

## CreateSkyboxRendererList(Camera, Matrix4x4, Matrix4x4)

Creates a new skybox [RendererList](/engine/6000.0/script-reference/unityengine/rendering/rendererlist.md).

```csharp
public RendererList CreateSkyboxRendererList(Camera camera, Matrix4x4 projectionMatrix, Matrix4x4 viewMatrix)
```

### Parameters

**** (\[Camera]\(/engine/6000.0/script-reference/unityengine/camera)): The camera that is used for rendering the skybox.**** (\[Matrix4x4]\(/engine/6000.0/script-reference/unityengine/matrix4x4)): The projection matrix used during XR rendering of the skybox.**** (\[Matrix4x4]\(/engine/6000.0/script-reference/unityengine/matrix4x4)): The view matrix used during XR rendering of the skybox.

### Returns

| Type                                                                                  | Description                                                   |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------- |
| [RendererList](/engine/6000.0/script-reference/unityengine/rendering/rendererlist.md) | Returns a new RendererList based on the settings you pass in. |

### Remarks

A [RendererList](/engine/6000.0/script-reference/unityengine/rendering/rendererlist.md) represents a set of draw commands. To draw the skybox in a RendererList, add the [CommandBuffer.DrawRendererList](/engine/6000.0/script-reference/unityengine/rendering/commandbuffer/drawrendererlist.md) command to a [CommandBuffer](/engine/6000.0/script-reference/unityengine/rendering/commandbuffer.md).

## CreateSkyboxRendererList(Camera)

Creates a new skybox [RendererList](/engine/6000.0/script-reference/unityengine/rendering/rendererlist.md).

```csharp
public RendererList CreateSkyboxRendererList(Camera camera)
```

### Parameters

**** (\[Camera]\(/engine/6000.0/script-reference/unityengine/camera)): The camera that is used for rendering the skybox.

### Returns

| Type                                                                                  | Description                                                   |
| ------------------------------------------------------------------------------------- | ------------------------------------------------------------- |
| [RendererList](/engine/6000.0/script-reference/unityengine/rendering/rendererlist.md) | Returns a new RendererList based on the settings you pass in. |

### Remarks

A [RendererList](/engine/6000.0/script-reference/unityengine/rendering/rendererlist.md) represents a set of draw commands. To draw the skybox in a RendererList, add the [CommandBuffer.DrawRendererList](/engine/6000.0/script-reference/unityengine/rendering/commandbuffer/drawrendererlist.md) command to a [CommandBuffer](/engine/6000.0/script-reference/unityengine/rendering/commandbuffer.md).
