API reference
Preparing search index…

ImGui.VSliderScalarEx

  • Edit one numeric value of a selected data type 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.

    data_type
    number

    ImGuiDataType describing the native scalar layout at p_data and the associated limit/step addresses.

    p_data
    bigint

    Nonzero bigint address of writable scalar data in data_type layout. Not a TypedArray. Keep the allocation alive for this call. N variants access components consecutive values.

    p_min
    bigint

    Nonzero bigint address of the required bound in data_type layout. Not a TypedArray. Keep the allocation alive for this call.

    p_max
    bigint

    Nonzero bigint address of the required bound in data_type layout. Not a TypedArray. Keep the allocation alive for this call.

    format
    null | string | Uint8Array = null

    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