Difference between revisions of "Matrix:setMatrix"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Sets all 16 elements of a 4x4 matrix.
 
Sets all 16 elements of a 4x4 matrix.
<source lang="lua">
+
<syntaxhighlight 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>

Revision as of 14:28, 13 July 2023

Available since: Gideros 2016.06
Class: Matrix

Description

Sets all 16 elements of a 4x4 matrix. <syntaxhighlight lang="lua"> Matrix:setMatrix(m11,m12,m13,m14,m21,m22,m23,m24,m31,m32,m33,m34,m41,m42,m43,m44) </source>

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