Class DebugUI.Value
A field that displays a read-only value.
Inherited Members
Namespace: UnityEngine.Rendering
Assembly: Unity.RenderPipelines.Core.Runtime.dll
Syntax
public class DebugUI.Value : DebugUI.Widget
Constructors
| Name | Description |
|---|---|
| Value() | Constructor. |
Fields
| Name | Description |
|---|---|
| formatString | Optional C# numeric format string, using following syntax: "{0[:numericFormatString]}" See https://docs.microsoft.com/en-us/dotnet/standard/base-types/standard-numeric-format-strings and https://docs.microsoft.com/en-us/dotnet/standard/base-types/composite-formatting Example: 123.45678 with formatString "{0:F2} ms" --> "123.45 ms". |
| refreshRate | Refresh rate for the read-only value (runtime only) |
Properties
| Name | Description |
|---|---|
| getter | Getter for the Value. |
Methods
| Name | Description |
|---|---|
| FormatString(object) | Returns the formatted value string for display purposes. |
| GetValue() | Returns the value of the widget. |