Difference between revisions of "Matrix:setElements"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Class:''' [[Matrix]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Matrix|Matrix]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate><br />
+
Sets all 6 elements of the matrix.
Sets all 6 elements of the matrix.<br />
 
<br /></translate>
 
 
<source lang="lua">
 
<source lang="lua">
Matrix:setElements(m11,m12,m21,m22,tx,ty)
+
Matrix:setElements(m11,m12,m21,m22,tx,ty)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''m11''': (number, default = 1) <translate></translate> <br/>
+
=== Parameters ===
'''m12''': (number, default = 0) <translate></translate> <br/>
+
'''m11''': (number, default = 1) <br/>
'''m21''': (number, default = 0) <translate></translate> <br/>
+
'''m12''': (number, default = 0) <br/>
'''m22''': (number, default = 1) <translate></translate> <br/>
+
'''m21''': (number, default = 0) <br/>
'''tx''': (number, default = 0) <translate></translate> <br/>
+
'''m22''': (number, default = 1) <br/>
'''ty''': (number, default = 0) <translate></translate> <br/>
+
'''tx''': (number, default = 0) <br/>
 +
'''ty''': (number, default = 0) <br/>
  
 
{{Matrix}}
 
{{Matrix}}

Revision as of 23:37, 17 March 2022