set_color4ub


Description:

public void set_color4ub (uchar red, uchar green, uchar blue, uchar alpha)

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

Note:

Use cogl_pipeline_set_color4ub instead

The default value is (0xff, 0xff, 0xff, 0xff)

Parameters:

this

A CoglMaterial object

red

The red component

green

The green component

blue

The blue component

alpha

The alpha component