Difference between revisions of "Matrix:setScale"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2016.06<br/> | '''Available since:''' Gideros 2016.06<br/> | ||
=== Description === | === Description === | ||
− | transform matrix for setting scale | + | <translate>transform matrix for setting scale</translate> |
<source lang="lua"> | <source lang="lua"> | ||
Matrix:setScale(x,y,z) | Matrix:setScale(x,y,z) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''x''': (number) scale on x axis <br/> | + | '''x''': (number) <translate>scale on x axis</translate> <br/> |
− | '''y''': (number) scale on y axis '''optional'''<br/> | + | '''y''': (number) <translate>scale on y axis</translate> '''optional'''<br/> |
− | '''z''': (number) scale on z axis '''optional'''<br/> | + | '''z''': (number) <translate>scale on z axis</translate> '''optional'''<br/> |
Revision as of 13:38, 23 August 2018
Available since: Gideros 2016.06
Description
transform matrix for setting scale
Matrix:setScale(x,y,z)
Parameters
x: (number) scale on x axis
y: (number) scale on y axis optional
z: (number) scale on z axis optional