Difference between revisions of "Matrix:getPosition"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(2 intermediate revisions by 2 users not shown)
Line 5: Line 5:
 
=== Description ===
 
=== Description ===
 
Gets the position from the matrix transformation.
 
Gets the position from the matrix transformation.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number), (number) = Matrix:getPosition()
 
(number), (number), (number) = Matrix:getPosition()
</source>
+
</syntaxhighlight>
  
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) matrix x position<br/>
+
'''Returns''' (number) x position<br/>
'''Returns''' (number) matrix y position<br/>
+
'''Returns''' (number) y position<br/>
'''Returns''' (number) matrix z position<br/>
+
'''Returns''' (number) z position<br/>
  
 
{{Matrix}}
 
{{Matrix}}

Latest revision as of 14:30, 13 July 2023