docs.unity3d.com
    Show / Hide Table of Contents

    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

    Extension Methods

    ReflectionUtils.Invoke(Object, String, Object[])
    ReflectionUtils.SetField(Object, String, Object)
    ReflectionUtils.GetField(Object, String)
    ReflectionUtils.GetFields(Object)
    Back to top
    Terms of use
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023