Difference between revisions of "Matrix:setPosition"

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

Revision as of 13:34, 23 August 2018

Available since: Gideros 2016.06

Description

transform matrix for setting position

 Matrix:setPosition(x,y,z)

Parameters

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