Phaser API Documentation

  Version: 

Member of: Phaser.Math.Matrix4

transform(position, scale, rotation)

Description:

Generates a transform matrix based on the given position, scale and rotation.

Parameters:

name type description
position Phaser.Math.Vector3

The position vector.

scale Phaser.Math.Vector3

The scale vector.

rotation Phaser.Math.Quaternion

The rotation quaternion.

Returns:
Description:

This Matrix4.

Since: 3.50.0
Source: src/math/Matrix4.js (Line 180)