Difference between revisions of "Matrix:getElements"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
Returns the elements of the matrix.<br />
 
Returns the elements of the matrix.<br />
 
![images/matrix_props.png]<br />
 
![images/matrix_props.png]<br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number), (number), (number), (number), (number), (number) = Matrix:getElements()
 
(number), (number), (number), (number), (number), (number) = Matrix:getElements()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) m11 element<br/>
+
'''Returns''' (number) <translate>m11 element</translate><br/>
'''Returns''' (number) m12 element<br/>
+
'''Returns''' (number) <translate>m12 element</translate><br/>
'''Returns''' (number) m21 element<br/>
+
'''Returns''' (number) <translate>m21 element</translate><br/>
'''Returns''' (number) m22 element<br/>
+
'''Returns''' (number) <translate>m22 element</translate><br/>
'''Returns''' (number) tx element<br/>
+
'''Returns''' (number) <translate>tx element</translate><br/>
'''Returns''' (number) ty element<br/>
+
'''Returns''' (number) <translate>ty element</translate><br/>

Revision as of 13:34, 23 August 2018

Available since: Gideros 2011.6

Description


Returns the elements of the matrix.
![images/matrix_props.png]

(number), (number), (number), (number), (number), (number) = Matrix:getElements()

Return values

Returns (number) m11 element
Returns (number) m12 element
Returns (number) m21 element
Returns (number) m22 element
Returns (number) tx element
Returns (number) ty element