Difference between revisions of "Matrix:getPosition"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2016.06<br/> | '''Available since:''' Gideros 2016.06<br/> | ||
=== Description === | === Description === | ||
− | get position from matrix transformation | + | <translate>get position from matrix transformation</translate> |
<source lang="lua"> | <source lang="lua"> | ||
(number), (number), (number) = Matrix:getPosition() | (number), (number), (number) = Matrix:getPosition() | ||
</source> | </source> | ||
=== Return values === | === Return values === | ||
− | '''Returns''' (number) x position<br/> | + | '''Returns''' (number) <translate>x position</translate><br/> |
− | '''Returns''' (number) y position<br/> | + | '''Returns''' (number) <translate>y position</translate><br/> |
− | '''Returns''' (number) z position<br/> | + | '''Returns''' (number) <translate>z position</translate><br/> |
Revision as of 13:33, 23 August 2018
Available since: Gideros 2016.06
Description
get position from matrix transformation
(number), (number), (number) = Matrix:getPosition()
Return values
Returns (number) x position
Returns (number) y position
Returns (number) z position