API reference
Preparing search index…

ImGui.InputFloat

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

    Returns

    boolean

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

    Implied step = 0.0, step_fast = 0.0, format = "%.3f", flags = 0

    Source & inheritance

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