set_color4f


Description:

public void set_color4f (float red, float green, float blue, float alpha)

Sets the basic color of the material, used when no lighting is enabled.

Note:

Use cogl_pipeline_set_color4f instead

The default value is (1.0, 1.0, 1.0, 1.0)

Parameters:

this

A CoglMaterial object

red

The red component

green

The green component

blue

The blue component

alpha

The alpha component