Matrix:translate: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 2: Line 2:
'''Available since:''' Gideros 2016.06<br/>
'''Available since:''' Gideros 2016.06<br/>
=== Description ===
=== Description ===
combine existing translation with provided translation
<translate>combine existing translation with provided translation</translate>
<source lang="lua">
<source lang="lua">
  Matrix:translate(x,y,z)
  Matrix:translate(x,y,z)
</source>
</source>
=== Parameters ===
=== Parameters ===
'''x''': (number) translate on x axis <br/>
'''x''': (number) <translate>translate on x axis</translate> <br/>
'''y''': (number) translate on y axis '''optional'''<br/>
'''y''': (number) <translate>translate on y axis</translate> '''optional'''<br/>
'''z''': (number) translate on z axis '''optional'''<br/>
'''z''': (number) <translate>translate on z axis</translate> '''optional'''<br/>

Revision as of 12:34, 23 August 2018

Available since: Gideros 2016.06

Description

combine existing translation with provided translation

 Matrix:translate(x,y,z)

Parameters

x: (number) translate on x axis
y: (number) translate on y axis optional
z: (number) translate on z axis optional