Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateSkyboxRendererList

Creates a new skybox RendererList.
Read time 2 minutesLast updated 6 days ago

Definition

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

camera

The camera that is used for rendering the skybox.

projectionMatrixL

The left eye projection matrix used during Legacy single pass XR rendering of the skybox.

viewMatrixL

The left eye view matrix used during Legacy single pass XR rendering of the skybox.

projectionMatrixR

The right eye projection matrix used during Legacy single pass XR rendering of the skybox.

viewMatrixR

The right eye view matrix used during Legacy single pass XR rendering of the skybox.

Returns

Type

Description

RendererListReturns 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

camera

The camera that is used for rendering the skybox.

projectionMatrix

The projection matrix used during XR rendering of the skybox.

viewMatrix

The view matrix used during XR rendering of the skybox.

Returns

Type

Description

RendererListReturns 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

camera

The camera that is used for rendering the skybox.

Returns

Type

Description

RendererListReturns 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.