Mesh:getColor

From GiderosMobile
Revision as of 10:03, 23 August 2018 by Hgy29 (talk | contribs) (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), =...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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)