Home
News
Learn
Download
Examples
Community
Login
Phaser API Documentation
Version:
Namespaces
Classes
Events
Game Objects
Physics
Scenes
Changelog
Member of:
Phaser.Math.Quaternion
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.
Type:
Phaser.Math.Quaternion
Since:
3.0.0
Source:
src/math/Quaternion.js
(Line
968
)
Possible examples