Sprite:setScale

This page contains changes which are not marked for translation.


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