Difference between revisions of "Matrix:orthographicProjection"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
+
'''Available since:''' Gideros 2016.06<br/>
=== <translate>Description</translate> ===
+
'''Class:''' [[Matrix]]<br/>
<translate>Replace this matrix by an orthographic projection suitable for the current 3D engine</translate>
+
 
<source lang="lua">
+
=== Description ===
Matrix:orthographicProjection(left,right,bottom,top,near,far)
+
Replaces this matrix by an orthographic projection. Suitable for the current 3D engine.
</source>
+
<syntaxhighlight lang="lua">
=== <translate>Parameters</translate> ===
+
Matrix:orthographicProjection(left,right,bottom,top,near,far)
'''left''': (number) <translate>left plane distance</translate> <br/>
+
</syntaxhighlight>
'''right''': (number) <translate>right plane distance</translate> <br/>
+
 
'''bottom''': (number) <translate>bottom plane distance</translate> <br/>
+
=== Parameters ===
'''top''': (number) <translate>top plane distance</translate> <br/>
+
'''left''': (number) left plane distance<br/>
'''near''': (number) <translate>near plane distance</translate> <br/>
+
'''right''': (number) right plane distance<br/>
'''far''': (number) <translate>far plane distance</translate> <br/>
+
'''bottom''': (number) bottom plane distance<br/>
 +
'''top''': (number) top plane distance<br/>
 +
'''near''': (number) near plane distance<br/>
 +
'''far''': (number) far plane distance<br/>
 +
 
 +
{{Matrix}}

Latest revision as of 14:31, 13 July 2023