Difference between revisions of "Sprite:setScale"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | '''Available since:''' Gideros 2011.6<br/> | + | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> |
− | === Description === | + | === <translate>Description</translate> === |
<translate><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 /> | ||
Line 8: | Line 8: | ||
Sprite:setScale(scaleX,scaleY,scaleZ) | Sprite:setScale(scaleX,scaleY,scaleZ) | ||
</source> | </source> | ||
− | === Parameters === | + | === <translate>Parameters</translate> === |
'''scaleX''': (number) <translate>of the object</translate> <br/> | '''scaleX''': (number) <translate>of the object</translate> <br/> | ||
'''scaleY''': (number, default = scaleX) <translate>of the object</translate> <br/> | '''scaleY''': (number, default = scaleX) <translate>of the object</translate> <br/> | ||
'''scaleZ''': (number, default = scaleX) <translate>of the object</translate> <br/> | '''scaleZ''': (number, default = scaleX) <translate>of the object</translate> <br/> |
Revision as of 07:30, 24 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