Difference between revisions of "Particles:getParticleColor"

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

Latest revision as of 21:34, 21 September 2023