Phaser API Documentation

  Version: 

Member of: Phaser.Math.Matrix4

scale(v)

Description:

Apply a scale transformation to this Matrix.

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

Parameters:

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

The Vector to scale this Matrix with.

Returns:
Description:

This Matrix4.

Since: 3.0.0
Source: src/math/Matrix4.js (Line 763)