Phaser API Documentation

  Version: 

Member of: Phaser.Math.Vector3

equals(v)

Description:

Check whether this Vector is equal to a given Vector.

Performs a strict equality check against each Vector's components.

Parameters:

name type description
v Phaser.Math.Vector3

The Vector3 to compare against.

Returns:
Description:

True if the two vectors strictly match, otherwise false.

Type:
  • boolean
Since: 3.0.0
Source: src/math/Vector3.js (Line 194)