API reference
Preparing search index…

ImGui.GetStyleColorVec4

  • Retrieve style color as stored in ImGuiStyle structure.

    Parameters

    idx
    number

    ImGuiCol index selecting the style color entry.

    Returns

    Copied floating-point RGBA color as {x: r, y: g, z: b, w: a}; editing the object does not change the native style.

    Use with PushStyleColorImVec4(); otherwise use GetColorU32() to get style color with style alpha baked in.

    Source & inheritance

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