Difference between revisions of "Sprite:setScale"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Sets the horizontal, vertical and z axis scales of the sprite.<br /> <br /> <source lang="lua">...") |
|||
Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | + | Sprite:setScale(scaleX,scaleY,scaleZ) | |
</source> | </source> | ||
− | '''scaleX | + | '''scaleX''': (number) of the object ''''''<br/> |
− | '''scaleY | + | '''scaleY''': (number, default = scaleX) of the object ''''''<br/> |
− | '''scaleZ | + | '''scaleZ''': (number, default = scaleX) of the object ''''''<br/> |
Revision as of 10:21, 23 August 2018
Available since: Gideros 2011.6
Description
Sets the horizontal, vertical and z axis scales of the sprite.
Sprite:setScale(scaleX,scaleY,scaleZ)
'scaleX: (number) of the object '
'scaleY: (number, default = scaleX) of the object '
'scaleZ: (number, default = scaleX) of the object '