Difference between revisions of "Matrix:setScale"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2016.06<br/> | + | '''<translate>Available since</translate>:''' Gideros 2016.06<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate>transform matrix for setting scale</translate> | <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 === | + | === <translate>Parameters</translate> === |
'''x''': (number) <translate>scale on x axis</translate> <br/> | '''x''': (number) <translate>scale on x axis</translate> <br/> | ||
'''y''': (number) <translate>scale on y axis</translate> '''optional'''<br/> | '''y''': (number) <translate>scale on y axis</translate> '''optional'''<br/> | ||
'''z''': (number) <translate>scale on z axis</translate> '''optional'''<br/> | '''z''': (number) <translate>scale on z axis</translate> '''optional'''<br/> |
Revision as of 07:29, 24 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