Phaser API Documentation

  Version: 

Member of: Phaser.Math.Matrix4

lookAtRH(eye, target, up)

Description:

Generate a right-handed look-at matrix with the given eye position, target and up axis.

Parameters:

name type description
eye Phaser.Math.Vector3

Position of the viewer.

target Phaser.Math.Vector3

Point the viewer is looking at.

up Phaser.Math.Vector3

vec3 pointing up.

Returns:
Description:

This Matrix4.

Since: 3.50.0
Source: src/math/Matrix4.js (Line 1333)