Phaser API Documentation

  Version: 

Member of: Phaser.Math.Matrix4

perspectiveLH(width, height, near, far)

Description:

Generate a perspective projection matrix with the given bounds.

Parameters:

name type description
width number

The width of the frustum.

height number

The height of the frustum.

near number

Near bound of the frustum.

far number

Far bound of the frustum.

Returns:
Description:

This Matrix4.

Since: 3.0.0
Source: src/math/Matrix4.js (Line 1246)