Phaser API Documentation

  Version: 

Member of: Phaser.Math.Vector2

multiply(src)

Description:

Perform a component-wise multiplication between this Vector and the given Vector.

Multiplies this Vector by the given Vector.

Parameters:

name type description
src Phaser.Types.Math.Vector2Like

The Vector to multiply this Vector by.

Returns:
Description:

This Vector2.

Since: 3.0.0
Source: src/math/Vector2.js (Line 280)