Cogl.Color.prototype.init_from_4fv
function init_from_4fv(color_array: Number(gfloat)): void { // Gjs wrapper for cogl_color_init_from_4fv() }
Sets the values of the passed channels into a Cogl.Color
Since 1.4
- color_array
a pointer to an array of 4 float color components