Cogl.Framebuffer.prototype.translate

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

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

Since 1.10

x

Distance to translate along the x-axis

y

Distance to translate along the y-axis

z

Distance to translate along the z-axis