API reference
Preparing search index…

ImGui.VSliderInt

  • Edit an integer value with a vertical slider.

    Parameters

    label
    string | Uint8Array

    Widget label; interactive widgets also use it for ID generation. A ## suffix can distinguish IDs without displaying the suffix.

    size

    Vertical slider frame width and height in pixels.

    v
    Int32Array

    Mutable widget value in element [0]; edits are written back into the supplied array. Pass Int32Array storage, not a JS scalar; native access uses the supplied backing memory.

    v_min
    number

    Lower end of the value range; for drag widgets v_min >= v_max disables ordinary bounds.

    v_max
    number

    Upper end of the value range; slider flags determine whether manual input is clamped.

    Returns

    boolean

    True if the widget changed the supplied value; false if it remained unchanged.

    Implied format = "%d", flags = 0

    Source & inheritance

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