Difference between revisions of "Sprite:setScale"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<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>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />

Revision as of 09:29, 24 August 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