ドキュメント

Unity Engine

Unity Engine

CreateGizmoRendererList(Camera, GizmoSubset)

Creates a new Gizmo RendererList.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

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.