Phaser API Documentation

  Version: 
multiply(rhs, [out])

Description:

Multiply this Matrix by the given Matrix.

If an out Matrix is given then the results will be stored in it. If it is not given, this matrix will be updated in place instead. Use an out Matrix if you do not wish to mutate this matrix.

Parameters:

name type arguments description
rhs Phaser.GameObjects.Components.TransformMatrix

The Matrix to multiply by.

out Phaser.GameObjects.Components.TransformMatrix <optional>

An optional Matrix to store the results in.

Returns:
Description:

Either this TransformMatrix, or the out Matrix, if given in the arguments.