CreateSkyboxRendererList
Creates a new skybox RendererList.
Read time 2 minutesLast updated 6 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Rendering
- Assembly: UnityEngine.CoreModule
CreateSkyboxRendererList(Camera, Matrix4x4, Matrix4x4, Matrix4x4, Matrix4x4)
Creates a new skybox RendererList.
public RendererList CreateSkyboxRendererList(Camera camera, Matrix4x4 projectionMatrixL, Matrix4x4 viewMatrixL, Matrix4x4 projectionMatrixR, Matrix4x4 viewMatrixR)
Parameters
The camera that is used for rendering the skybox.
The left eye projection matrix used during Legacy single pass XR rendering of the skybox.
The left eye view matrix used during Legacy single pass XR rendering of the skybox.
The right eye projection matrix used during Legacy single pass XR rendering of the skybox.
The right eye view matrix used during Legacy single pass XR rendering of the skybox.
Returns
Type | Description |
|---|---|
| RendererList | Returns a new RendererList based on the settings you pass in. |
Remarks
A RendererList represents a set of draw commands. To draw the skybox in a RendererList, add the CommandBuffer.DrawRendererList command to a CommandBuffer.
CreateSkyboxRendererList(Camera, Matrix4x4, Matrix4x4)
Creates a new skybox RendererList.
public RendererList CreateSkyboxRendererList(Camera camera, Matrix4x4 projectionMatrix, Matrix4x4 viewMatrix)
Parameters
Returns
Type | Description |
|---|---|
| RendererList | Returns a new RendererList based on the settings you pass in. |
Remarks
A RendererList represents a set of draw commands. To draw the skybox in a RendererList, add the CommandBuffer.DrawRendererList command to a CommandBuffer.
CreateSkyboxRendererList(Camera)
Creates a new skybox RendererList.
public RendererList CreateSkyboxRendererList(Camera camera)
Parameters
The camera that is used for rendering the skybox.
Returns
Type | Description |
|---|---|
| RendererList | Returns a new RendererList based on the settings you pass in. |
Remarks
A RendererList represents a set of draw commands. To draw the skybox in a RendererList, add the CommandBuffer.DrawRendererList command to a CommandBuffer.