Phaser API Documentation

  Version: 
projOrtho(left, right, bottom, top)

Description:

Sets this shader to use an orthographic projection matrix. This matrix is stored locally in the projectionMatrix property, as well as being bound to the uProjectionMatrix uniform.

Parameters:

name type description
left number

The left value.

right number

The right value.

bottom number

The bottom value.

top number

The top value.

Since: 3.17.0