Mesh:setColor: Difference between revisions
From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2012.09<br/> === Description === <br /> Sets a color at color array. Indices are start from 1. If the color array is not large enough,..." |
No edit summary |
||
| Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
Mesh:setColor(i,color,alpha) | |||
</source> | </source> | ||
'''i | '''i''': (number) index ''''''<br/> | ||
'''color | '''color''': (number) color in hexedecial value ''''''<br/> | ||
'''alpha | '''alpha''': (number, default=1.0) alpha value ''''''<br/> | ||
Revision as of 09:18, 23 August 2018
Available since: Gideros 2012.09
Description
Sets a color at color array. Indices are start from 1. If the color array is not large enough, it's expanded automatically.
Mesh:setColor(i,color,alpha)
'i: (number) index '
'color: (number) color in hexedecial value '
'alpha: (number, default=1.0) alpha value '