Phaser API Documentation

  Version: 

Member of: Phaser.Math.Vector4

dot(v)

Description:

Calculate the dot product of this Vector and the given Vector.

Parameters:

name type description
v Phaser.Math.Vector4

The Vector4 to dot product with this Vector4.

Returns:
Description:

The dot product of this Vector and the given Vector.

Type:
  • number
Since: 3.0.0
Source: src/math/Vector4.js (Line 300)