Mesh:setColorArray: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 8: Line 8:
  Mesh:setColorArray(colors)
  Mesh:setColorArray(colors)
</source>
</source>
'''colors:''' (any)  ''''''<br/>
'''colors''': (any)  ''''''<br/>

Revision as of 09: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) '