Difference between revisions of "Mesh:getColor"
From GiderosMobile
Line 6: | Line 6: | ||
(number), (number) = Mesh:getColor(i) | (number), (number) = Mesh:getColor(i) | ||
</source> | </source> | ||
− | '''i''': (number) index | + | === Parameters === |
+ | '''i''': (number) index <br/> | ||
+ | === Return values === | ||
'''Returns''' (number) color<br/> | '''Returns''' (number) color<br/> | ||
'''Returns''' (number) normalizes alpha (0-1)<br/> | '''Returns''' (number) normalizes alpha (0-1)<br/> |
Revision as of 10:44, 23 August 2018
Available since: Gideros 2013.06
Description
Returns color and alpha of the i-th element from color array
(number), (number) = Mesh:getColor(i)
Parameters
i: (number) index
Return values
Returns (number) color
Returns (number) normalizes alpha (0-1)