Difference between revisions of "Particles:getParticleColor"

From GiderosMobile
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
+
'''Available since:''' Gideros 2016.06<br/>
=== <translate>Description</translate> ===
+
'''Class:''' [[Particles]]<br/>
<translate>Get color and alpha value of particle</translate>
+
 
<source lang="lua">
+
=== Description ===
 +
Gets color and alpha value of a particle.
 +
<syntaxhighlight lang="lua">
 
(color), (alpha) = Particles:getParticleColor(i)
 
(color), (alpha) = Particles:getParticleColor(i)
</source>
+
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''i''': (number) <translate>particle index</translate> <br/>
+
=== Parameters ===
=== <translate>Return values</translate> ===
+
'''i''': (number) particle index<br/>
'''<translate>Returns</translate>''' (color) <translate>color value</translate><br/>
+
 
'''<translate>Returns</translate>''' (alpha) <translate>alpha value from 0 to 1</translate><br/>
+
=== Return values ===
 +
'''Returns''' (color) color value<br/>
 +
'''Returns''' (alpha) alpha value from 0 to 1<br/>
 +
 
 +
{{Particles}}

Latest revision as of 20:34, 21 September 2023