Synced
ImGuiWidget.TypeBadge
Section titled “ImGuiWidget.TypeBadge”
- Draws a compact, non-interactive type badge with a subdued fill and semantic outline.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public void InnoEditor.ImGui.ImGuiWidget.TypeBadge(string label, System.Numerics.Vector4 accent, string? tooltip = null)Parameters
Section titled “Parameters”Parameter label: Visible type name.
Parameter accent: Semantic type-family accent.
Parameter tooltip: Optional explanation shown while the badge is hovered.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when label is null.