docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugUI.Foldout

    Unity-like foldout that can be collapsed.

    Inheritance
    object
    DebugUI.Widget
    DebugUI.Container
    DebugUI.Foldout
    DebugUI.Table.Row
    Implements
    DebugUI.IContainer
    DebugUI.IValueField
    Inherited Members
    DebugUI.Container.children
    DebugUI.Container.panel
    DebugUI.Container.OnItemAdded(ObservableList<DebugUI.Widget>, ListChangedEventArgs<DebugUI.Widget>)
    DebugUI.Container.OnItemRemoved(ObservableList<DebugUI.Widget>, ListChangedEventArgs<DebugUI.Widget>)
    DebugUI.Container.GetHashCode()
    DebugUI.Widget.m_Panel
    DebugUI.Widget.m_Parent
    DebugUI.Widget.parent
    DebugUI.Widget.flags
    DebugUI.Widget.displayName
    DebugUI.Widget.tooltip
    DebugUI.Widget.queryPath
    DebugUI.Widget.isEditorOnly
    DebugUI.Widget.isRuntimeOnly
    DebugUI.Widget.isInactiveInEditor
    DebugUI.Widget.isHiddenCallback
    DebugUI.Widget.isHidden
    DebugUI.Widget.nameAndTooltip
    object.Equals(object)
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: UnityEngine.Rendering
    Assembly: Unity.RenderPipelines.Core.Runtime.dll
    Syntax
    public class DebugUI.Foldout : DebugUI.Container, DebugUI.IContainer, DebugUI.IValueField

    Constructors

    Name Description
    Foldout()

    Constructor.

    Foldout(string, ObservableList<Widget>, string[], string[])

    Constructor.

    Fields

    Name Description
    contextMenuItems

    Optional list of context menu items. If the list is not provided, no context menu button will be displayed.

    isHeader

    Draw the foldout in full width using a header style.

    opened

    Opened state of the foldout.

    Properties

    Name Description
    columnLabels

    List of columns labels.

    columnTooltips

    List of columns label tooltips.

    isReadOnly

    Always false.

    Methods

    Name Description
    GetValue()

    Get the opened state of the foldout.

    SetValue(bool)

    Set the value of the widget.

    SetValue(object)

    Set the opened state of the foldout.

    ValidateValue(object)

    Validates the value of the widget before setting it.

    Extension Methods

    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    In This Article
    Back to top
    Copyright © 2023 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)