Cogl.Quaternion.prototype.init_from_matrix

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

Initializes a quaternion from a rotation matrix.

Since 1.10

matrix

A rotation matrix with which to initialize the quaternion