Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateGizmoRendererList(Camera, GizmoSubset)

Creates a new Gizmo RendererList.
Read time 1 minuteLast updated 6 days ago

Definition

public RendererList CreateGizmoRendererList(Camera camera, GizmoSubset gizmoSubset)

Parameters

camera

The camera that is used for rendering the Gizmo.

gizmoSubset

Specify how gizmos should be rendered.

Returns

Type

Description

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

Remarks

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