Phaser API Documentation

  Version: 
setFromRotationMatrix(mat4)

Description:

Sets the rotation of this Quaternion from the given Matrix4.

Parameters:

name type description
mat4 Phaser.Math.Matrix4

The Matrix4 to set the rotation from.

Returns:
Description:

This Quaternion.

Since: 3.50.0
Source: src/math/Quaternion.js (Line 893)