Class DebugUI.Table
Array Container.
Implements
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public class DebugUI.Table : DebugUI.Container, DebugUI.IContainer
Constructors
Table()
Constructor.
Declaration
public Table()
Fields
isReadOnly
True if the table is read only.
Declaration
public bool isReadOnly
Field Value
Type | Description |
---|---|
bool |
scroll
The scroll position of the table.
Declaration
public Vector2 scroll
Field Value
Type | Description |
---|---|
Vector2 |
Properties
Header
The table header for drawing
Declaration
public MultiColumnHeader Header { get; }
Property Value
Type | Description |
---|---|
MultiColumnHeader |
Methods
GetColumnVisibility(int)
Get column visibility.
Declaration
public bool GetColumnVisibility(int index)
Parameters
Type | Name | Description |
---|---|---|
int | index | Index of the column. |
Returns
Type | Description |
---|---|
bool | True if the column is visible. |
OnItemAdded(ObservableList<Widget>, ListChangedEventArgs<Widget>)
Method called when a children is added.
Declaration
protected override 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. |
Overrides
OnItemRemoved(ObservableList<Widget>, ListChangedEventArgs<Widget>)
Method called when a children is removed.
Declaration
protected override 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. |
Overrides
SetColumnVisibility(int, bool)
Set column visibility.
Declaration
public void SetColumnVisibility(int index, bool visible)
Parameters
Type | Name | Description |
---|---|---|
int | index | Index of the column. |
bool | visible | True if the column should be visible. |