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

API: engine
Project: Inno.Editor.ImGui

public void Inno.Editor.ImGui.ImGuiWidget.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.