Difference between revisions of "Matrix:getAnchorPosition"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2016.06<br/>
 
'''Available since:''' Gideros 2016.06<br/>
 
=== Description ===
 
=== Description ===
get anchor position from matrix transformation
+
<translate>get anchor position from matrix transformation</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number), (number), (number) = Matrix:getAnchorPosition()
 
(number), (number), (number) = Matrix:getAnchorPosition()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) x anchor position<br/>
+
'''Returns''' (number) <translate>x anchor position</translate><br/>
'''Returns''' (number) y anchor position<br/>
+
'''Returns''' (number) <translate>y anchor position</translate><br/>
'''Returns''' (number) z anchor position<br/>
+
'''Returns''' (number) <translate>z anchor position</translate><br/>

Revision as of 13:38, 23 August 2018

Available since: Gideros 2016.06

Description

get anchor position from matrix transformation

(number), (number), (number) = Matrix:getAnchorPosition()

Return values

Returns (number) x anchor position
Returns (number) y anchor position
Returns (number) z anchor position