Phaser API Documentation

  Version: 

Member of: Phaser.Math.Matrix4

frustum(left, right, bottom, top, near, far)

Description:

Generate a frustum matrix with the given bounds.

Parameters:

name type description
left number

The left bound of the frustum.

right number

The right bound of the frustum.

bottom number

The bottom bound of the frustum.

top number

The top bound of the frustum.

near number

The near bound of the frustum.

far number

The far bound of the frustum.

Returns:
Description:

This Matrix4.

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