Table of Contents

Matrix:orthographicProjection

Available since version: Gideros 2016.06

Description:

Replace this matrix by an orthographic projection suitable for the current 3D engine

Syntax:

Matrix:orthographicProjection(left, right, bottom, top, near, far)

Parameters:

  • left: (number) left plane distance
  • right: (number) right plane distance
  • bottom: (number) bottom plane distance
  • top: (number) top plane distance
  • near: (number) near plane distance
  • far: (number) far plane distance