Color.set

Set all color components to new values Expect that every component is in range 0.0 .. 1.0

  1. void set(ubyte red, ubyte green, ubyte blue, ubyte alpha)
  2. void set(float red, float green, float blue, float alpha)
    struct Color
    pure nothrow
    void
    set
    (
    float red
    ,
    float green
    ,
    float blue
    ,
    float alpha = 1f
    )

Meta