Difference between revisions of "Matrix:getElements"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[Matrix]]<br/>
 +
 
=== Description ===
 
=== Description ===
<translate><br />
+
Returns the elements of the matrix.
Returns the elements of the matrix.<br />
+
<syntaxhighlight lang="lua">
![images/matrix_props.png]<br />
 
<br /></translate>
 
<source lang="lua">
 
 
(number), (number), (number), (number), (number), (number) = Matrix:getElements()
 
(number), (number), (number), (number), (number), (number) = Matrix:getElements()
</source>
+
</syntaxhighlight>
 +
[[File:Matrix props.png]]
 +
 
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) <translate>m11 element</translate><br/>
+
'''Returns''' (number) m11 element<br/>
'''Returns''' (number) <translate>m12 element</translate><br/>
+
'''Returns''' (number) m12 element<br/>
'''Returns''' (number) <translate>m21 element</translate><br/>
+
'''Returns''' (number) m21 element<br/>
'''Returns''' (number) <translate>m22 element</translate><br/>
+
'''Returns''' (number) m22 element<br/>
'''Returns''' (number) <translate>tx element</translate><br/>
+
'''Returns''' (number) tx element<br/>
'''Returns''' (number) <translate>ty element</translate><br/>
+
'''Returns''' (number) ty element<br/>
 +
 
 +
{{Matrix}}

Latest revision as of 14:30, 13 July 2023