fromArray(array) → {Phaser.Matrix}
Sets the values of this Matrix to the values in the given array.
The Array elements should be set as follows:
a = array[0]
b = array[1]
c = array[3]
d = array[4]
tx = array[2]
ty = array[5]
Parameters
Name | Type | Description |
---|---|---|
array | Array | The array to copy from. |
Returns
This Matrix object.
- Source code: geom/Matrix.js (Line 81)
Please login to continue.