Class DebugUI.Foldout
Unity-like foldout that can be collapsed.
Inherited Members
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. |