Difference between revisions of "Mesh:getColor"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2013.06<br/> === Description === Returns color and alpha of the i-th element from color array <source lang="lua"> (number) (number), =...") |
|||
Line 4: | Line 4: | ||
Returns color and alpha of the i-th element from color array | Returns color and alpha of the i-th element from color array | ||
<source lang="lua"> | <source lang="lua"> | ||
− | (number) (number) | + | (number), (number) = Mesh:getColor(i) |
</source> | </source> | ||
− | '''i | + | '''i''': (number) index ''''''<br/> |
'''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:17, 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)
'i: (number) index '
Returns (number) color
Returns (number) normalizes alpha (0-1)