Phaser API Documentation

  Version: 

Member of: Phaser.Math.Vector2

divide(src)

Description:

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

Divides this Vector by the given Vector.

Parameters:

name type description
src Phaser.Math.Vector2

The Vector to divide this Vector by.

Returns:
Description:

This Vector2.

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