Difference between revisions of "Matrix:getMatrix"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2016.06<br/>
 
'''Available since:''' Gideros 2016.06<br/>
 +
'''Class:''' [[Matrix]]<br/>
 +
 
=== Description ===
 
=== Description ===
<translate>get all 16 elements of 4x4 matrix</translate>
+
Gets all 16 elements of the 4x4 matrix.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number) = Matrix:getMatrix()
 
(number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number) = Matrix:getMatrix()
</source>
+
</syntaxhighlight>
 +
 
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) <translate>m11</translate><br/>
+
'''Returns''' (number) m11<br/>
'''Returns''' (number) <translate>m12</translate><br/>
+
'''Returns''' (number) m12<br/>
'''Returns''' (number) <translate>m13</translate><br/>
+
'''Returns''' (number) m13<br/>
'''Returns''' (number) <translate>m14</translate><br/>
+
'''Returns''' (number) m14<br/>
'''Returns''' (number) <translate>m21</translate><br/>
+
'''Returns''' (number) m21<br/>
'''Returns''' (number) <translate>m22</translate><br/>
+
'''Returns''' (number) m22<br/>
'''Returns''' (number) <translate>m23</translate><br/>
+
'''Returns''' (number) m23<br/>
'''Returns''' (number) <translate>m24</translate><br/>
+
'''Returns''' (number) m24<br/>
'''Returns''' (number) <translate>m31</translate><br/>
+
'''Returns''' (number) m31<br/>
'''Returns''' (number) <translate>m32</translate><br/>
+
'''Returns''' (number) m32<br/>
'''Returns''' (number) <translate>m33</translate><br/>
+
'''Returns''' (number) m33<br/>
'''Returns''' (number) <translate>m34</translate><br/>
+
'''Returns''' (number) m34<br/>
'''Returns''' (number) <translate>m41</translate><br/>
+
'''Returns''' (number) m41<br/>
'''Returns''' (number) <translate>m42</translate><br/>
+
'''Returns''' (number) m42<br/>
'''Returns''' (number) <translate>m43</translate><br/>
+
'''Returns''' (number) m43<br/>
'''Returns''' (number) <translate>m44</translate><br/>
+
'''Returns''' (number) m44<br/>
 +
 
 +
{{Matrix}}

Latest revision as of 14:31, 13 July 2023

Available since: Gideros 2016.06
Class: Matrix

Description

Gets all 16 elements of the 4x4 matrix.

(number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number) = Matrix:getMatrix()

Return values

Returns (number) m11
Returns (number) m12
Returns (number) m13
Returns (number) m14
Returns (number) m21
Returns (number) m22
Returns (number) m23
Returns (number) m24
Returns (number) m31
Returns (number) m32
Returns (number) m33
Returns (number) m34
Returns (number) m41
Returns (number) m42
Returns (number) m43
Returns (number) m44