Difference between revisions of "Mesh:getColor"
From GiderosMobile
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''<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>Description</translate> === | === <translate>Description</translate> === | ||
<translate>Returns color and alpha of the i-th element from color array</translate> | <translate>Returns color and alpha of the i-th element from color array</translate> |
Revision as of 09:27, 24 August 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)