Cogl.Color.prototype.set_red_float

function set_red_float(red: Number(gfloat)): void {
    // Gjs wrapper for cogl_color_set_red_float()
}
  

Sets the red channel of color to red.

Since 1.4

red

a float value between 0.0f and 1.0f