docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class AdvancedProperties

    Global accessor to advanced properties

    Inheritance
    object
    AdvancedProperties
    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 AdvancedProperties

    Properties

    enabled

    If the show advanced properties is enabled

    Declaration
    public static bool enabled { get; set; }
    Property Value
    Type Description
    bool

    Methods

    AddAdvancedPropertiesBoolMenuItem(GenericMenu)

    Adds an entry to toggle Advanced Properties

    Declaration
    public static void AddAdvancedPropertiesBoolMenuItem(this GenericMenu menu)
    Parameters
    Type Name Description
    GenericMenu menu

    The menu where to add the Advanced Properties entry.

    AddAdvancedPropertiesBoolMenuItem(GenericMenu, Func<bool>, Action)

    Adds an entry to toggle Advanced Properties

    Declaration
    public static void AddAdvancedPropertiesBoolMenuItem(this GenericMenu menu, Func<bool> hasMoreOptions, Action toggleMoreOptions)
    Parameters
    Type Name Description
    GenericMenu menu

    The menu where to add the Advanced Properties entry.

    Func<bool> hasMoreOptions

    If the option is checked

    Action toggleMoreOptions

    The toggle action

    BeginGroup(AnimFloat)

    Starts the Advanced Properties highlight

    Declaration
    public static bool BeginGroup(AnimFloat animation = null)
    Parameters
    Type Name Description
    AnimFloat animation

    The animation of the highlight. If null, the global animation value is used.

    Returns
    Type Description
    bool

    Tru, if the advanced properties is enabled

    EndGroup()

    Ends the scope of highlight of advanced properties

    Declaration
    public static void EndGroup()

    Events

    advancedPreferenceChanged

    Global event when the advanced preferences have changed

    Declaration
    public static event Action<bool> advancedPreferenceChanged
    Event Type
    Type Description
    Action<bool>
    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)