Difference between revisions of "Mesh:getColor"

From GiderosMobile
(removed language stuff)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2013.06<br/>
'''<translate>Available since</translate>:''' Gideros 2013.06<br/>
+
'''Class:''' [[Mesh]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Mesh|Mesh]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Returns color and alpha of the i-th element from color array</translate>
+
Returns color and alpha of the i-th element of the color array.
 
<source lang="lua">
 
<source lang="lua">
 
(number), (number) = Mesh:getColor(i)
 
(number), (number) = Mesh:getColor(i)
 
</source>
 
</source>
=== <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}}
 
{{Mesh}}

Revision as of 21:26, 14 March 2021