docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class ShadowCascadeGUI

    Helper class for drawing shadow cascade with GUI.

    Inheritance
    object
    ShadowCascadeGUI
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEditor.Rendering
    Assembly: Unity.RenderPipelines.Core.Editor.dll
    Syntax
    public static class ShadowCascadeGUI

    Methods

    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.

    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)