Class ShadowCascadeGUI
Helper class for drawing shadow cascade with GUI.
Inherited Members
Namespace: UnityEditor.Rendering
Assembly: Unity.RenderPipelines.Core.Editor.dll
Syntax
public static class ShadowCascadeGUIMethods
DrawCascades(ref Cascade[], bool, float)
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 | 
|---|---|---|
| Cascade[] | cascades | Array of cascade data. | 
| bool | useMetric | True if numbers should be presented with metric system, otherwise procentage. | 
| float | baseMetric | The base of the metric system. In most cases it is maximum shadow distance. |