Difference between revisions of "Sprite:getColorTransform"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 
=== Description ===
 
=== Description ===
Returns the red, green, blue and alpha channel multipliers.<br />
+
<translate>Returns the red, green, blue and alpha channel multipliers.<br />
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number), (number), (number), (number) = Sprite:getColorTransform()
 
(number), (number), (number), (number) = Sprite:getColorTransform()
 
</source>
 
</source>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) redMultiplier<br/>
+
'''Returns''' (number) <translate>redMultiplier</translate><br/>
'''Returns''' (number) greenMultiplier<br/>
+
'''Returns''' (number) <translate>greenMultiplier</translate><br/>
'''Returns''' (number) blueMultiplier<br/>
+
'''Returns''' (number) <translate>blueMultiplier</translate><br/>
'''Returns''' (number) alphaMultiplier<br/>
+
'''Returns''' (number) <translate>alphaMultiplier</translate><br/>

Revision as of 13:33, 23 August 2018

Available since: Gideros 2011.6

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