Enum PanelRenderMode
Assembly: Yaui.dll
View Source
public enum PanelRenderMode
Fields
Overlay
Drawn over the screen after post-processing, sized like uGUI's CanvasScaler.
View Source
Overlay = 0
World
A quad in the scene at this GameObject's Transform, sorted and depth tested with transparent objects. The canvas size is Yaui.YauiPanel.ReferenceResolution.
View Source
World = 1
Camera
Drawn over the target of Yaui.YauiPanel.WorldCamera by a render pass of that camera at Yaui.YauiPanel.InjectionPoint, filling its view. A Yaui.YauiRendererFeature of the camera's renderer gives the injection point an event. The canvas is sized from the pixel size of the camera (its target texture when it renders to one) with the scale mode. Panels of the same camera and injection point are drawn in Yaui.YauiPanel.SortOrder. The panel is drawn between the passes of the camera, so it is not sorted with the transparent objects (uGUI canvases included) of the pass it follows.
View Source
Camera = 2