Difference between revisions of "Matrix:getMatrix"
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>get all 16 elements of 4x4 matrix</translate> | <translate>get all 16 elements of 4x4 matrix</translate> | ||
<source lang="lua"> | <source 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> | </source> | ||
− | === Return values === | + | === <translate>Return values</translate> === |
− | '''Returns''' (number) <translate>m11</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>m11</translate><br/> |
− | '''Returns''' (number) <translate>m12</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>m12</translate><br/> |
− | '''Returns''' (number) <translate>m13</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>m13</translate><br/> |
− | '''Returns''' (number) <translate>m14</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>m14</translate><br/> |
− | '''Returns''' (number) <translate>m21</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>m21</translate><br/> |
− | '''Returns''' (number) <translate>m22</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>m22</translate><br/> |
− | '''Returns''' (number) <translate>m23</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>m23</translate><br/> |
− | '''Returns''' (number) <translate>m24</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>m24</translate><br/> |
− | '''Returns''' (number) <translate>m31</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>m31</translate><br/> |
− | '''Returns''' (number) <translate>m32</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>m32</translate><br/> |
− | '''Returns''' (number) <translate>m33</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>m33</translate><br/> |
− | '''Returns''' (number) <translate>m34</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>m34</translate><br/> |
− | '''Returns''' (number) <translate>m41</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>m41</translate><br/> |
− | '''Returns''' (number) <translate>m42</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>m42</translate><br/> |
− | '''Returns''' (number) <translate>m43</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>m43</translate><br/> |
− | '''Returns''' (number) <translate>m44</translate><br/> | + | '''<translate>Returns</translate>''' (number) <translate>m44</translate><br/> |
Revision as of 07:28, 24 August 2018
Available since: Gideros 2016.06
Description
get all 16 elements of 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