docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class DebugUI.Container

    Base class for "container" type widgets, although it can be used on its own (if a display name is set then it'll behave as a group with a header)

    Inheritance
    object
    DebugUI.Widget
    DebugUI.Container
    DebugUI.Foldout
    DebugUI.HBox
    DebugUI.Table
    DebugUI.VBox
    Implements
    DebugUI.IContainer
    Inherited Members
    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.Container : DebugUI.Widget, DebugUI.IContainer

    Constructors

    Container()

    Constructor

    Declaration
    public Container()

    Container(string)

    Constructor for a container without header

    Declaration
    public Container(string id)
    Parameters
    Type Name Description
    string id

    The id of the container

    Container(string, ObservableList<Widget>)

    Constructor.

    Declaration
    public Container(string displayName, ObservableList<DebugUI.Widget> children)
    Parameters
    Type Name Description
    string displayName

    Display name of the container.

    ObservableList<DebugUI.Widget> children

    List of attached children.

    Properties

    children

    List of children.

    Declaration
    public ObservableList<DebugUI.Widget> children { get; }
    Property Value
    Type Description
    ObservableList<DebugUI.Widget>

    panel

    Panel the container is attached to.

    Declaration
    public override DebugUI.Panel panel { get; }
    Property Value
    Type Description
    DebugUI.Panel
    Overrides
    DebugUI.Widget.panel

    Methods

    GetHashCode()

    Returns the hash code of the widget.

    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int

    Hash code of the widget.

    Overrides
    DebugUI.Widget.GetHashCode()

    OnItemAdded(ObservableList<Widget>, ListChangedEventArgs<Widget>)

    Method called when a children is added.

    Declaration
    protected virtual void OnItemAdded(ObservableList<DebugUI.Widget> sender, ListChangedEventArgs<DebugUI.Widget> e)
    Parameters
    Type Name Description
    ObservableList<DebugUI.Widget> sender

    Sender widget.

    ListChangedEventArgs<DebugUI.Widget> e

    List of added children.

    OnItemRemoved(ObservableList<Widget>, ListChangedEventArgs<Widget>)

    Method called when a children is removed.

    Declaration
    protected virtual void OnItemRemoved(ObservableList<DebugUI.Widget> sender, ListChangedEventArgs<DebugUI.Widget> e)
    Parameters
    Type Name Description
    ObservableList<DebugUI.Widget> sender

    Sender widget.

    ListChangedEventArgs<DebugUI.Widget> e

    List of removed children.

    Implements

    DebugUI.IContainer

    Extension Methods

    ReflectionUtils.GetField(object, string)
    ReflectionUtils.GetFields(object)
    ReflectionUtils.Invoke(object, string, params object[])
    ReflectionUtils.SetField(object, string, object)
    AnalyticsUtils.ToNestedColumnWithDefault<T>(T, T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, bool)
    AnalyticsUtils.ToNestedColumn<T>(T, T)
    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)