Difference between revisions of "Matrix:setElements"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Sets all 6 elements of the matrix.<br /> <br /> <source lang="lua"> = Matrix:setElements(m11m12...")
 
Line 6: Line 6:
 
<br />
 
<br />
 
<source lang="lua">
 
<source lang="lua">
= Matrix:setElements(m11m12m21m22txty,)
+
Matrix:setElements(m11,m12,m21,m22,tx,ty)
 
</source>
 
</source>
'''m11:''' (number, default = 1)  ''''''<br/>
+
'''m11''': (number, default = 1)  ''''''<br/>
'''m12:''' (number, default = 0)  ''''''<br/>
+
'''m12''': (number, default = 0)  ''''''<br/>
'''m21:''' (number, default = 0)  ''''''<br/>
+
'''m21''': (number, default = 0)  ''''''<br/>
'''m22:''' (number, default = 1)  ''''''<br/>
+
'''m22''': (number, default = 1)  ''''''<br/>
'''tx:''' (number, default = 0)  ''''''<br/>
+
'''tx''': (number, default = 0)  ''''''<br/>
'''ty:''' (number, default = 0)  ''''''<br/>
+
'''ty''': (number, default = 0)  ''''''<br/>

Revision as of 10:21, 23 August 2018

Available since: Gideros 2011.6

Description


Sets all 6 elements of the matrix.

 Matrix:setElements(m11,m12,m21,m22,tx,ty)

'm11: (number, default = 1) '
'm12: (number, default = 0) '
'm21: (number, default = 0) '
'm22: (number, default = 1) '
'tx: (number, default = 0) '
'ty: (number, default = 0) '