Class DebugUI.ValueTuple
An array of read-only values that Unity displays in a horizontal row.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public class DebugUI.ValueTuple : DebugUI.Widget
Fields
pinnedElementIndex
The currently pinned element index, or -1 if none are pinned.
Declaration
public int pinnedElementIndex
Field Value
| Type | Description |
|---|---|
| int |
values
Value widgets.
Declaration
public DebugUI.Value[] values
Field Value
| Type | Description |
|---|---|
| Value[] |
Properties
isHeader
If is a header, and it should be displayed with bold font
Declaration
public bool isHeader { get; set; }
Property Value
| Type | Description |
|---|---|
| bool |
numElements
Number of elements in the tuple.
Declaration
public int numElements { get; }
Property Value
| Type | Description |
|---|---|
| int |
refreshRate
Refresh rate for the read-only values (runtime only)
Declaration
public float refreshRate { get; }
Property Value
| Type | Description |
|---|---|
| float |
Methods
Create()
Creates the VisualElement for the widget that will be added to the panel UI.
Declaration
protected override VisualElement Create()
Returns
| Type | Description |
|---|---|
| VisualElement | The widget's VisualElement |