Cogl.Quaternion.prototype.init_from_array
function init_from_array(array: Number(gfloat)): void { // Gjs wrapper for cogl_quaternion_init_from_array() }
Initializes a [w (x, y,z)] quaternion directly from an array of 4 floats: [w,x,y,z].
Since 2.0
- array
An array of 4 floats w,(x,y,z)