Difference between revisions of "Matrix:getAnchorPosition"

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 ===
get anchor position from matrix transformation
+
Gets the anchor position from the matrix transformation.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(number), (number), (number) = Matrix:getAnchorPosition()
 
(number), (number), (number) = Matrix:getAnchorPosition()
</source>
+
</syntaxhighlight>
 +
 
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) x anchor position<br/>
+
'''Returns''' (number) x matrix anchor position<br/>
'''Returns''' (number) y anchor position<br/>
+
'''Returns''' (number) y matrix anchor position<br/>
'''Returns''' (number) z anchor position<br/>
+
'''Returns''' (number) z matrix anchor position<br/>
 +
 
 +
{{Matrix}}

Latest revision as of 14:30, 13 July 2023