API reference
Preparing search index…

ImGui.ProgressBar

  • Display a progress bar for a completion fraction, with an optional text overlay.

    Parameters

    fraction
    number

    Progress fraction, normally 0 to 1; a negative value requests an indeterminate animation.

    size_arg

    Widget width and height in pixels; zero uses native automatic sizing and negative width reserves space from the available right edge.

    overlay
    null | string | Uint8Array = null

    Optional text drawn over the progress bar or plot; null uses the widget default.

    Returns

    void
    Source & inheritance

Icons made by Lorc, Delapouite & Skoll · game-icons.net · CC BY 3.0