API reference
Preparing search index…

ImGui.ColorConvertHSVtoRGB

  • Convert a color from hue, saturation, and value to RGB components.

    Parameters

    h
    number

    Hue/saturation/value component for HSV conversion, normally in the 0 to 1 range.

    s
    number

    Hue/saturation/value component for HSV conversion, normally in the 0 to 1 range.

    v
    number

    Hue/saturation/value component for HSV conversion, normally in the 0 to 1 range.

    out_r
    Float32Array

    Writable Float32Array[0] receiving the corresponding RGB component. Pass Float32Array storage, not a JS scalar; native access uses the supplied backing memory.

    out_g
    Float32Array

    Writable Float32Array[0] receiving the corresponding RGB component. Pass Float32Array storage, not a JS scalar; native access uses the supplied backing memory.

    out_b
    Float32Array

    Writable Float32Array[0] receiving the corresponding RGB component. Pass Float32Array storage, not a JS scalar; native access uses the supplied backing memory.

    Returns

    void
    Source & inheritance

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