Version: 2022.3

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.

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