Synced
ImGuiWidget.MetadataValue
Section titled “ImGuiWidget.MetadataValue”
- Draws a subdued metadata prefix followed by an interactive value on the same line.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public void InnoEditor.ImGui.ImGuiWidget.MetadataValue(string metadata, System.Action drawValue, string? tooltip = null)Parameters
Section titled “Parameters”Parameter metadata: Short contextual text such as a declared value type.
Parameter drawValue: Callback that draws the value or action following the metadata.
Parameter tooltip: Optional explanation displayed while the metadata is hovered.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when metadata or drawValue is null.