Difference between revisions of "Sprite:getColorTransform"

From GiderosMobile
Line 14: Line 14:
 
'''<translate>Returns</translate>''' (number) <translate>blueMultiplier</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>blueMultiplier</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>alphaMultiplier</translate><br/>
 
'''<translate>Returns</translate>''' (number) <translate>alphaMultiplier</translate><br/>
 +
 +
{{Sprite}}

Revision as of 00:07, 4 December 2019


Available since: Gideros 2011.6
Class: Sprite

Description

Returns the red, green, blue and alpha channel multipliers.

(number), (number), (number), (number) = Sprite:getColorTransform()

Return values

Returns (number) redMultiplier
Returns (number) greenMultiplier
Returns (number) blueMultiplier
Returns (number) alphaMultiplier