Difference between revisions of "Matrix:getElements"

From GiderosMobile
Line 4: Line 4:
 
<translate><br />
 
<translate><br />
 
Returns the elements of the matrix.<br />
 
Returns the elements of the matrix.<br />
[[File:matrix_props.png]]<br />
+
[[File:Matrix props.png]]<br />
 
<br /></translate>
 
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">

Revision as of 08:51, 24 August 2018

Available since: Gideros 2011.6

Description


Returns the elements of the matrix.
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