set_layer_matrix


Description:

public void set_layer_matrix (int layer_index, Matrix matrix)

This function lets you set a matrix that can be used to e.g. translate and rotate a single layer of a material used to fill your geometry.

Note:

Use cogl_pipeline_set_layer_matrix instead

Parameters:

this

A CoglMaterial object

layer_index

the index for the layer inside this

matrix

the transformation matrix for the layer