Difference between revisions of "Matrix:setMatrix"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2016.06<br/>
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
+
'''Class:''' [[Matrix]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Matrix|Matrix]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>set all 16 elements of 4x4 matrix</translate>
+
Sets all 16 elements of a 4x4 matrix.
 
<source lang="lua">
 
<source lang="lua">
Matrix:setMatrix(m11,m12,m13,m14,m21,m22,m23,m24,m31,m32,m33,m34,m41,m42,m43,m44)
+
Matrix:setMatrix(m11,m12,m13,m14,m21,m22,m23,m24,m31,m32,m33,m34,m41,m42,m43,m44)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''m11''': (number) <translate></translate> '''optional'''<br/>
+
=== Parameters ===
'''m12''': (number) <translate></translate> '''optional'''<br/>
+
'''m11''': (number) '''optional'''<br/>
'''m13''': (number) <translate></translate> '''optional'''<br/>
+
'''m12''': (number) '''optional'''<br/>
'''m14''': (number) <translate></translate> '''optional'''<br/>
+
'''m13''': (number) '''optional'''<br/>
'''m21''': (number) <translate></translate> '''optional'''<br/>
+
'''m14''': (number) '''optional'''<br/>
'''m22''': (number) <translate></translate> '''optional'''<br/>
+
'''m21''': (number) '''optional'''<br/>
'''m23''': (number) <translate></translate> '''optional'''<br/>
+
'''m22''': (number) '''optional'''<br/>
'''m24''': (number) <translate></translate> '''optional'''<br/>
+
'''m23''': (number) '''optional'''<br/>
'''m31''': (number) <translate></translate> '''optional'''<br/>
+
'''m24''': (number) '''optional'''<br/>
'''m32''': (number) <translate></translate> '''optional'''<br/>
+
'''m31''': (number) '''optional'''<br/>
'''m33''': (number) <translate></translate> '''optional'''<br/>
+
'''m32''': (number) '''optional'''<br/>
'''m34''': (number) <translate></translate> '''optional'''<br/>
+
'''m33''': (number) '''optional'''<br/>
'''m41''': (number) <translate></translate> '''optional'''<br/>
+
'''m34''': (number) '''optional'''<br/>
'''m42''': (number) <translate></translate> '''optional'''<br/>
+
'''m41''': (number) '''optional'''<br/>
'''m43''': (number) <translate></translate> '''optional'''<br/>
+
'''m42''': (number) '''optional'''<br/>
'''m44''': (number) <translate></translate> '''optional'''<br/>
+
'''m43''': (number) '''optional'''<br/>
 +
'''m44''': (number) '''optional'''<br/>
  
 
{{Matrix}}
 
{{Matrix}}

Revision as of 23:42, 17 March 2022

Available since: Gideros 2016.06
Class: Matrix

Description

Sets all 16 elements of a 4x4 matrix.

Matrix:setMatrix(m11,m12,m13,m14,m21,m22,m23,m24,m31,m32,m33,m34,m41,m42,m43,m44)

Parameters

m11: (number) optional
m12: (number) optional
m13: (number) optional
m14: (number) optional
m21: (number) optional
m22: (number) optional
m23: (number) optional
m24: (number) optional
m31: (number) optional
m32: (number) optional
m33: (number) optional
m34: (number) optional
m41: (number) optional
m42: (number) optional
m43: (number) optional
m44: (number) optional