Phaser API Documentation

  Version: 

Member of: Phaser.Math.Matrix4

fromQuat(q)

Description:

Set the values of this Matrix from the given Quaternion.

Parameters:

name type description
q Phaser.Math.Quaternion

The Quaternion to set the values of this Matrix from.

Returns:
Description:

This Matrix4.

Since: 3.0.0
Source: src/math/Matrix4.js (Line 1105)