Synced
ImGuiWidget.CenteredProgressBar
Section titled “ImGuiWidget.CenteredProgressBar”
- Draws a progress bar whose overlay remains centered over the complete bar.
Required contracts
Section titled “Required contracts”API: scripting
Project: Inno.Editor.ImGui
Scope: Editor
Declaration
Section titled “Declaration”public void InnoEditor.ImGui.ImGuiWidget.CenteredProgressBar(float fraction, System.Numerics.Vector2 size, string overlay)Parameters
Section titled “Parameters”Parameter fraction: The completed fraction rendered by the progress bar.
Parameter size: The requested ImGui progress-bar size.
Parameter overlay: The text drawn at the geometric center of the complete progress bar.
Exceptions
Section titled “Exceptions”Exception T:System.ArgumentNullException: Thrown when overlay is null.