Difference between revisions of "Matrix:getPosition"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(7 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 ===
<translate>get position from matrix transformation</translate>
+
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) <translate>x position</translate><br/>
+
'''Returns''' (number) x position<br/>
'''Returns''' (number) <translate>y position</translate><br/>
+
'''Returns''' (number) y position<br/>
'''Returns''' (number) <translate>z position</translate><br/>
+
'''Returns''' (number) z position<br/>
 +
 
 +
{{Matrix}}

Latest revision as of 14:30, 13 July 2023