Version: 2022.2

ScriptableRenderContext.CreateSkyboxRendererList

切换到手册
public Rendering.RendererList CreateSkyboxRendererList (Camera camera);
public Rendering.RendererList CreateSkyboxRendererList (Camera camera, Matrix4x4 projectionMatrix, Matrix4x4 viewMatrix);
public Rendering.RendererList CreateSkyboxRendererList (Camera camera, Matrix4x4 projectionMatrixL, Matrix4x4 viewMatrixL, Matrix4x4 projectionMatrixR, Matrix4x4 viewMatrixR);

参数

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

返回

RendererList Returns a new RendererList based on the settings you pass in.

描述

Creates a new skybox RendererList.

A RendererList represents a set of draw commands. To draw the skybox in a RendererList, add the CommandBuffer.DrawRendererList command to a CommandBuffer.