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: engine
Project: Inno.Editor.ImGui
Declaration
Section titled “Declaration”public void Inno.Editor.ImGui.ImGuiWidget.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.