Struct ShadowCascadeGUI.Cascade
Data of single cascade for drawing in GUI.
Namespace: UnityEditor.Rendering
Syntax
public struct Cascade
Fields
borderHandleState
Current state of border handle that will be used for drawing it.
Declaration
public ShadowCascadeGUI.HandleState borderHandleState
Field Value
Type | Description |
---|---|
ShadowCascadeGUI.HandleState |
borderSize
Cascade border size that ranges from 0 to 1. Border represents the width of shadow blend. Where 0 value result in no blend and 1 will blend from cascade beginning.
Declaration
public float borderSize
Field Value
Type | Description |
---|---|
Single |
cascadeHandleState
Current state of cascade handle that will be used for drawing it.
Declaration
public ShadowCascadeGUI.HandleState cascadeHandleState
Field Value
Type | Description |
---|---|
ShadowCascadeGUI.HandleState |
size
Cascade normalized size that ranges from 0 to 1. Sum of all cascade sizes can not exceed 1.
Declaration
public float size
Field Value
Type | Description |
---|---|
Single |