Mesh:setColor

From GiderosMobile
Revision as of 10:18, 23 August 2018 by Hgy29 (talk | contribs)

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 '