Skip to content
API referenceDevelopmentEditor scriptingEngine ccf7d03f
Synced
  • Draws a progress bar whose overlay remains centered over the complete bar.

API: scripting
Project: Inno.Editor.ImGui
Scope: Editor

public void InnoEditor.ImGui.ImGuiWidget.CenteredProgressBar(float fraction, System.Numerics.Vector2 size, string overlay)

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.

Exception T:System.ArgumentNullException: Thrown when overlay is null.