Cogl.Euler.prototype.init_from_matrix

function init_from_matrix(matrix: Cogl.Matrix): void {
    // Gjs wrapper for cogl_euler_init_from_matrix()
}
  

Extracts a euler rotation from the given matrix and initializses euler with the component x, y and z rotation angles.

matrix

A Cogl.Matrix containing a rotation, but no scaling, mirroring or skewing.