Class ShadowCascadeGUI
Helper class for drawing shadow cascade with GUI.
Namespace: UnityEditor.Rendering
Syntax
public static class ShadowCascadeGUI
Methods
DrawCascades(ref ShadowCascadeGUI.Cascade[], Boolean, Single)
Draw cascades using editor GUI. This also includes handles
Declaration
public static void DrawCascades(ref ShadowCascadeGUI.Cascade[] cascades, bool useMetric, float baseMetric)
Parameters
Type | Name | Description |
---|---|---|
ShadowCascadeGUI.Cascade[] | cascades | Array of cascade data. |
Boolean | useMetric | True if numbers should be presented with metric system, otherwise procentage. |
Single | baseMetric | The base of the metric system. In most cases it is maximum shadow distance. |