Phaser API Documentation

  Version: 

Member of: Phaser.Math.Vector3

project(mat)

Description:

Multiplies this Vector3 by the specified matrix, applying a W divide. This is useful for projection, e.g. unprojecting a 2D point into 3D space.

Parameters:

name type description
mat Phaser.Math.Matrix4

The Matrix4 to multiply this Vector3 with.

Returns:
Description:

This Vector3.

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