API reference
Preparing search index…

ImGui.InputFloatEx

  • Edit a floating-point value in a numeric text field.

    Parameters

    label
    string | Uint8Array

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

    v
    Float32Array

    Mutable widget value in element [0]; edits are written back into the supplied array. Pass Float32Array storage, not a JS scalar; native access uses the supplied backing memory.

    step
    number = 0.0

    Normal increment for the input step buttons; 0 disables those buttons.

    step_fast
    number = 0.0

    Step used while Ctrl is held; 0 disables the fast step.

    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

    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