API reference
Preparing search index…

ImGui.SliderAngleEx

  • Edit an angle stored in radians using a slider displayed in degrees.

    Parameters

    label
    string | Uint8Array

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

    v_rad
    Float32Array

    Angle stored in radians in Float32Array[0]; the widget displays degrees and writes radians back. Pass Float32Array storage, not a JS scalar; native access uses the supplied backing memory.

    v_degrees_min
    number = -360.0

    Lower/upper slider endpoint in degrees, although v_rad stores radians.

    v_degrees_max
    number

    Lower/upper slider endpoint in degrees, although v_rad stores radians.

    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

    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