Difference between revisions of "Matrix:setAnchorPosition"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2016.06<br/>
 
'''Available since:''' Gideros 2016.06<br/>
 
=== Description ===
 
=== Description ===
transform matrix for setting anchor position
+
<translate>transform matrix for setting anchor position</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Matrix:setAnchorPosition(x,y,z)
 
  Matrix:setAnchorPosition(x,y,z)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''x''': (number) x anchor position <br/>
+
'''x''': (number) <translate>x anchor position</translate> <br/>
'''y''': (number) y anchor position <br/>
+
'''y''': (number) <translate>y anchor position</translate> <br/>
'''z''': (number) z anchor position '''optional'''<br/>
+
'''z''': (number) <translate>z anchor position</translate> '''optional'''<br/>

Revision as of 13:34, 23 August 2018

Available since: Gideros 2016.06

Description

transform matrix for setting anchor position

 Matrix:setAnchorPosition(x,y,z)

Parameters

x: (number) x anchor position
y: (number) y anchor position
z: (number) z anchor position optional