API reference
Preparing search index…

ImGui.SliderInt4Ex

  • Edit 4 integer components with horizontal sliders.

    Parameters

    label
    string | Uint8Array

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

    v
    Int32Array

    Mutable widget values in elements [0..3]; 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.

    format
    string | Uint8Array

    Native printf-style numeric display format; match it to the value type. Null selects the native default where supported.

    flags
    number = 0

    ImGuiSliderFlags options controlling this operation; combine compatible flag bits with |.

    Returns

    boolean

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

    Source & inheritance

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