API reference
Preparing search index…

ImGui.ColorPicker3

  • Display a visual picker for a three-component color without alpha.

    Parameters

    label
    string | Uint8Array

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

    col
    Float32Array

    Mutable RGB/RGBA color components; the widget writes edits in place. Color-edit flags determine RGB/HSV interpretation and HDR range. Pass Float32Array storage, not a JS scalar; native access uses the supplied backing memory.

    flags
    number = 0

    ImGuiColorEditFlags 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