Phaser API Documentation

  Version: 
fromMat3(mat)

Description:

Convert the given Matrix into this Quaternion.

Parameters:

name type description
mat Phaser.Math.Matrix3

The Matrix to convert from.

Returns:
Description:

This Quaternion.

Examples:
Since: 3.0.0
Source: src/math/Quaternion.js (Line 968)