API reference
Preparing search index…

ImGui.InputScalarNEx

  • Edit multiple numeric components of a selected data type in text fields.

    Parameters

    label
    string | Uint8Array

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

    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.

    components
    number

    Number of consecutive scalar components read and edited at p_data.

    p_step
    null | bigint = null

    Address of the normal/fast increment in data_type layout; null disables that step.

    p_step_fast
    null | bigint = null

    Address of the normal/fast increment in data_type layout; null disables that step.

    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

    ImGuiInputTextFlags 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