Difference between revisions of "Sprite:setScale"
From GiderosMobile
Line 8: | Line 8: | ||
Sprite:setScale(scaleX,scaleY,scaleZ) | Sprite:setScale(scaleX,scaleY,scaleZ) | ||
</source> | </source> | ||
− | '''scaleX''': (number) of the object | + | === Parameters === |
− | '''scaleY''': (number, default = scaleX) of the object | + | '''scaleX''': (number) of the object <br/> |
− | '''scaleZ''': (number, default = scaleX) of the object | + | '''scaleY''': (number, default = scaleX) of the object <br/> |
+ | '''scaleZ''': (number, default = scaleX) of the object <br/> |
Revision as of 10:46, 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