Phaser API Documentation

  Version: 

Member of: Phaser.Math.Vector3

setFromMatrixPosition(mat4)

Description:

Sets the components of this Vector3 from the position of the given Matrix4.

Parameters:

name type description
mat4 Phaser.Math.Matrix4

The Matrix4 to get the position from.

Returns:
Description:

This Vector3.

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