Difference between revisions of "Mesh:getColor"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<languages />
 
'''<translate>Available since</translate>:''' Gideros 2013.06<br/>
 
'''<translate>Available since</translate>:''' Gideros 2013.06<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/Mesh|Mesh]]<br/>
 
'''<translate>Class</translate>:''' [[Special:MyLanguage/Mesh|Mesh]]<br/>

Revision as of 09:57, 3 September 2018


Available since: Gideros 2013.06
Class: Mesh

Description

Returns color and alpha of the i-th element from color array

(number), (number) = Mesh:getColor(i)

Parameters

i: (number) index

Return values

Returns (number) color
Returns (number) normalizes alpha (0-1)