Difference between revisions of "Matrix:scale"

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

Latest revision as of 15:31, 13 July 2023