Generate a world matrix from the given rotation, position, scale, view matrix and projection matrix.
name | type | arguments | description |
---|---|---|---|
rotation | Phaser.Math.Vector3 |
The rotation of the world matrix. |
|
position | Phaser.Math.Vector3 |
The position of the world matrix. |
|
scale | Phaser.Math.Vector3 |
The scale of the world matrix. |
|
viewMatrix | Phaser.Math.Matrix4 | <optional> |
The view matrix. |
projectionMatrix | Phaser.Math.Matrix4 | <optional> |
The projection matrix. |
This Matrix4.