Phaser API Documentation

  Version: 

Member of: Phaser.Math.Vector3

normalize()

Description:

Normalize this Vector.

Makes the vector a unit length vector (magnitude of 1) in the same direction.

Returns:
Description:

This Vector3.

Since: 3.0.0
Source: src/math/Vector3.js (Line 553)