Difference between revisions of "Matrix:getPosition"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2016.06<br/>
+
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate>get position from matrix transformation</translate>
 
<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 ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>x position</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>x position</translate><br/>
'''Returns''' (number) <translate>y position</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>y position</translate><br/>
'''Returns''' (number) <translate>z position</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>z position</translate><br/>

Revision as of 07:27, 24 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