Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


CreateUIOverlayRendererList

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

Definition

CreateUIOverlayRendererList(Camera)

Creates a new UIOverlay RendererList.
public RendererList CreateUIOverlayRendererList(Camera camera)

Parameters

camera

The camera that is used for rendering the UIOverlay.

Returns

Type

Description

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

Remarks

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

CreateUIOverlayRendererList(Camera, UISubset)

Creates a new UIOverlay RendererList.
public RendererList CreateUIOverlayRendererList(Camera camera, UISubset uiSubset)

Parameters

camera

The camera that is used for rendering the UIOverlay.

uiSubset

The UISubset to be rendered.

Returns

Type

Description

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

Remarks

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