Difference between revisions of "Sprite:setScale"

From GiderosMobile
Line 14: Line 14:
 
'''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/>
 +
 +
{{Sprite}}

Revision as of 00:20, 4 December 2019


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