Phaser API Documentation

  Version: 

Member of: Phaser.Math.Matrix4

fromRotationTranslation(q, v)

Description:

Set the values of this Matrix from the given rotation Quaternion and translation Vector.

Parameters:

name type description
q Phaser.Math.Quaternion

The Quaternion to set rotation from.

v Phaser.Math.Vector3

The Vector to set translation from.

Returns:
Description:

This Matrix4.

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