API reference
Preparing search index…

ImGui.DragInt2

  • Edit 2 integer components with drag controls.

    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..1]; edits are written back into the supplied array. Pass Int32Array storage, not a JS scalar; native access uses the supplied backing memory.

    Returns

    boolean

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

    If v_min >= v_max we have no bound

    Implied v_speed = 1.0, v_min = 0, v_max = 0, format = "%d", flags = 0

    Source & inheritance

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