Difference between revisions of "Matrix:getMatrix"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(One intermediate revision by the same user not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Gets all 16 elements of the 4x4 matrix.
 
Gets all 16 elements of the 4x4 matrix.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number) = Matrix:getMatrix()
 
(number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number) = Matrix:getMatrix()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===

Latest revision as of 14:31, 13 July 2023

Available since: Gideros 2016.06
Class: Matrix

Description

Gets all 16 elements of the 4x4 matrix.

(number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number), (number) = Matrix:getMatrix()

Return values

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