Version: 2022.3
LanguageEnglish
  • C#

ScriptableRenderContext.CreateSkyboxRendererList

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

Declaration

public Rendering.RendererList CreateSkyboxRendererList(Camera camera);

Declaration

public Rendering.RendererList CreateSkyboxRendererList(Camera camera, Matrix4x4 projectionMatrix, Matrix4x4 viewMatrix);

Declaration

public Rendering.RendererList CreateSkyboxRendererList(Camera camera, Matrix4x4 projectionMatrixL, Matrix4x4 viewMatrixL, Matrix4x4 projectionMatrixR, Matrix4x4 viewMatrixR);

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

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

Description

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.

Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961