Difference between revisions of "Sprite:setScale"
From GiderosMobile
Line 2: | Line 2: | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
=== Description === | === Description === | ||
− | <br /> | + | <translate><br /> |
Sets the horizontal, vertical and z axis scales of the sprite.<br /> | Sets the horizontal, vertical and z axis scales of the sprite.<br /> | ||
− | <br /> | + | <br /></translate> |
<source lang="lua"> | <source lang="lua"> | ||
Sprite:setScale(scaleX,scaleY,scaleZ) | Sprite:setScale(scaleX,scaleY,scaleZ) | ||
</source> | </source> | ||
=== Parameters === | === Parameters === | ||
− | '''scaleX''': (number) of the object <br/> | + | '''scaleX''': (number) <translate>of the object</translate> <br/> |
− | '''scaleY''': (number, default = scaleX) of the object <br/> | + | '''scaleY''': (number, default = scaleX) <translate>of the object</translate> <br/> |
− | '''scaleZ''': (number, default = scaleX) of the object <br/> | + | '''scaleZ''': (number, default = scaleX) <translate>of the object</translate> <br/> |
Revision as of 13:35, 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)
Parameters
scaleX: (number) of the object
scaleY: (number, default = scaleX) of the object
scaleZ: (number, default = scaleX) of the object