API reference
Preparing search index…

ImGui.InputScalarN

  • 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.

    Returns

    boolean

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

    Implied p_step = null, p_step_fast = null, format = null, flags = 0

    Source & inheritance

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