Phaser API Documentation

  Version: 

Member of: Phaser.Math.Matrix3

scale(v)

Description:

Apply a scale transformation to this Matrix.

Uses the x and y components of the given Vector to scale the Matrix.

Parameters:

name type description
v Phaser.Math.Vector2 | Phaser.Math.Vector3 | Phaser.Math.Vector4

The Vector to scale this Matrix with.

Returns:
Description:

This Matrix3.

Since: 3.0.0
Source: src/math/Matrix3.js (Line 431)