Matrix#setTo()

setTo(a, b, c, d, tx, ty) → {Phaser.Matrix}

Sets the values of this Matrix to the given values.

Parameters
Name Type Description
a number

Horizontal scaling

b number

Horizontal skewing

c number

Vertical skewing

d number

Vertical scaling

tx number

Horizontal translation

ty number

Vertical translation

Returns

This Matrix object.

Source code: geom/Matrix.js (Line 103)
doc_phaser
2017-02-14 10:55:15
Comments
Leave a Comment

Please login to continue.