Difference between revisions of "Matrix:translate"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(6 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 ===
<translate>combine existing translation with provided translation</translate>
+
Combines the existing translation with a provided translation.
<source lang="lua">
+
<syntaxhighlight lang="lua">
Matrix:translate(x,y,z)
+
Matrix:translate(x,y,z)
</source>
+
</syntaxhighlight>
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''x''': (number) <translate>translate on x axis</translate> <br/>
+
'''x''': (number) translate on x axis<br/>
'''y''': (number) <translate>translate on y axis</translate> '''optional'''<br/>
+
'''y''': (number) translate on y axis '''optional'''<br/>
'''z''': (number) <translate>translate on z axis</translate> '''optional'''<br/>
+
'''z''': (number) translate on z axis '''optional'''<br/>
 +
 
 +
{{Matrix}}

Latest revision as of 14:30, 13 July 2023