Phaser API Documentation

  Version: 

Member of: Phaser.Math.Vector3

unprojectViewMatrix(projectionMatrix, worldMatrix)

Description:

Multiplies this Vector3 by the given inversed projection matrix and world matrix.

Parameters:

name type description
projectionMatrix Phaser.Math.Matrix4

An inversed Projection Matrix.

worldMatrix Phaser.Math.Matrix4

A World View Matrix.

Returns:
Description:

This Vector3.

Since: 3.50.0
Source: src/math/Vector3.js (Line 873)