Difference between revisions of "Matrix:setElements"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(7 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 ===
<br />
+
Sets all 6 elements of the matrix.
Sets all 6 elements of the matrix.<br />
+
<syntaxhighlight lang="lua">
<br />
+
Matrix:setElements(m11,m12,m21,m22,tx,ty)
<source lang="lua">
+
</syntaxhighlight>
Matrix:setElements(m11,m12,m21,m22,tx,ty)
+
 
</source>
 
 
=== Parameters ===
 
=== Parameters ===
'''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/>
 +
 
 +
{{Matrix}}

Latest revision as of 14:30, 13 July 2023