Cogl.MatrixStack.prototype.translate

function translate(x: Number(gfloat), y: Number(gfloat), z: Number(gfloat)): void {
    // Gjs wrapper for cogl_matrix_stack_translate()
}
  

Multiplies the current matrix by one that translates along all three axes according to the given values.

x

Distance to translate along the x-axis

y

Distance to translate along the y-axis

z

Distance to translate along the z-axis