Cogl.Framebuffer.prototype.rotate_quaternion

function rotate_quaternion(quaternion: Cogl.Quaternion): void {
    // Gjs wrapper for cogl_framebuffer_rotate_quaternion()
}
  

Multiplies the current model-view matrix by one that rotates according to the rotation described by quaternion.

Since 2.0

quaternion

A Cogl.Quaternion