Phaser API Documentation

  Version: 
decomposeMatrix()

Description:

Decompose this Matrix into its translation, scale and rotation values using QR decomposition.

The result must be applied in the following order to reproduce the current matrix:

translate -> rotate -> scale

Returns:
Description:

The decomposed Matrix.

Type:
  • object