docs.unity3d.com
    Show / Hide Table of Contents

    Class ShadowCascadeGUI

    Helper class for drawing shadow cascade with GUI.

    Inheritance
    Object
    ShadowCascadeGUI
    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.

    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