Version: 2023.1

ScriptableRenderContext.CreateGizmoRendererList

切换到手册
public Rendering.RendererList CreateGizmoRendererList (Camera camera, Rendering.GizmoSubset gizmoSubset);

参数

camera The camera that is used for rendering the Gizmo.
gizmoSubset Specify how gizmos should be rendered.

返回

RendererList Returns a new RendererList based on the descriptor or parameters you pass in.

描述

Creates a new Gizmo RendererList.

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