Difference between revisions of "Matrix:orthographicProjection"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2016.06<br/>
+
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate>Replace this matrix by an orthographic projection suitable for the current 3D engine</translate>
 
<translate>Replace this matrix by an orthographic projection suitable for the current 3D engine</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Matrix:orthographicProjection(left,right,bottom,top,near,far)
 
  Matrix:orthographicProjection(left,right,bottom,top,near,far)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''left''': (number) <translate>left plane distance</translate> <br/>
 
'''left''': (number) <translate>left plane distance</translate> <br/>
 
'''right''': (number) <translate>right plane distance</translate> <br/>
 
'''right''': (number) <translate>right plane distance</translate> <br/>

Revision as of 08:28, 24 August 2018

Available since: Gideros 2016.06

Description

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

 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