Difference between revisions of "Sprite:setScale"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
+ | <languages /> | ||
'''<translate>Available since</translate>:''' Gideros 2011.6<br/> | '''<translate>Available since</translate>:''' Gideros 2011.6<br/> | ||
'''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/> | '''<translate>Class</translate>:''' [[Special:MyLanguage/Sprite|Sprite]]<br/> |
Revision as of 09:59, 3 September 2018
Available since: Gideros 2011.6
Class: Sprite
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