Phaser API Documentation

  Version: 

Member of: Phaser.Math.Vector4

divide(v)

Description:

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

Divides this Vector by the given Vector.

Parameters:

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

The Vector to divide this Vector by.

Returns:
Description:

This Vector4.

Since: 3.0.0
Source: src/math/Vector4.js (Line 367)