Difference between revisions of "Mesh:setColorArray"
From GiderosMobile
Line 8: | Line 8: | ||
Mesh:setColorArray(colors) | Mesh:setColorArray(colors) | ||
</source> | </source> | ||
− | '''colors | + | '''colors''': (any) ''''''<br/> |
Revision as of 10:16, 23 August 2018
Available since: Gideros 2012.09
Description
Assigns new content to the color array, dropping all the elements contained in the color array before the call and replacing them by those specified by the parameters. It accepts multiple values or a Lua array.
Mesh:setColorArray(colors)
'colors: (any) '