Difference between revisions of "Matrix:getPosition"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(8 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2016.06<br/>
 
'''Available since:''' Gideros 2016.06<br/>
 +
'''Class:''' [[Matrix]]<br/>
 +
 
=== Description ===
 
=== Description ===
get position from 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) x position<br/>
 
'''Returns''' (number) x position<br/>
 
'''Returns''' (number) y position<br/>
 
'''Returns''' (number) y position<br/>
 
'''Returns''' (number) z position<br/>
 
'''Returns''' (number) z position<br/>
 +
 +
{{Matrix}}

Latest revision as of 14:30, 13 July 2023