Difference between revisions of "Particles:getParticleColor"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2016.06<br/>
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
+
'''Class:''' [[Particles]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Particles|Particles]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Get color and alpha value of particle</translate>
+
Gets color and alpha value of a particle.
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(color), (alpha) = Particles:getParticleColor(i)
 
(color), (alpha) = Particles:getParticleColor(i)
 
</syntaxhighlight>
 
</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}}
 
{{Particles}}

Latest revision as of 20:34, 21 September 2023