Cogl.Pipeline.prototype.set_color4f
function set_color4f(red: Number(gfloat), green: Number(gfloat), blue: Number(gfloat), alpha: Number(gfloat)): void { // Gjs wrapper for cogl_pipeline_set_color4f() }
Sets the basic color of the pipeline, used when no lighting is enabled.
The default value is (1.0, 1.0, 1.0, 1.0)
Since 2.0
- red
The red component
- green
The green component
- blue
The blue component
- alpha
The alpha component