Difference between revisions of "Pixel:setTextureScale"

From GiderosMobile
Line 11: Line 11:
 
'''sx''': (number) <translate>Texture's x-scale</translate> <br/>
 
'''sx''': (number) <translate>Texture's x-scale</translate> <br/>
 
'''sy''': (number) <translate>Texture's y-scale</translate> <br/>
 
'''sy''': (number) <translate>Texture's y-scale</translate> <br/>
 +
 +
{{Pixel}}

Revision as of 22:34, 3 December 2019


Available since: in development
Class: Pixel

Description

Sets the texture's scale for the Pixel

 Pixel:setTextureScale(sx,sy)

Parameters

sx: (number) Texture's x-scale
sy: (number) Texture's y-scale