Difference between revisions of "Mesh:getColor"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2013.06<br/>
+
'''Available since:''' Gideros 2013.06<br/>
=== <translate>Description</translate> ===
+
'''Class:''' [[Mesh]]<br/>
<translate>Returns color and alpha of the i-th element from color array</translate>
+
 
<source lang="lua">
+
=== Description ===
 +
Returns color and alpha of the i-th element from the color array.
 +
<syntaxhighlight lang="lua">
 
(number), (number) = Mesh:getColor(i)
 
(number), (number) = Mesh:getColor(i)
</source>
+
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''i''': (number) <translate>index</translate> <br/>
+
=== Parameters ===
=== <translate>Return values</translate> ===
+
'''i''': (number) index<br/>
'''<translate>Returns</translate>''' (number) <translate>color</translate><br/>
+
 
'''<translate>Returns</translate>''' (number) <translate>normalizes alpha (0-1)</translate><br/>
+
=== Return values ===
 +
'''Returns''' (number) color<br/>
 +
'''Returns''' (number) normalized alpha (0-1)<br/>
 +
 
 +
{{Mesh}}

Latest revision as of 14:31, 13 July 2023