Cogl.Euler.prototype.init_from_quaternion

function init_from_quaternion(quaternion: Cogl.Quaternion): void {
    // Gjs wrapper for cogl_euler_init_from_quaternion()
}
  

Initializes a euler rotation with the equivalent rotation represented by the given quaternion.

quaternion

A Cogl.Euler with the rotation to initialize with