Difference between revisions of "Particles:getParticleDecay"

From GiderosMobile
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' in development<br/>
+
'''Available since:''' Gideros 2021.10<br/>
=== <translate>Description</translate> ===
+
'''Class:''' [[Particles]]<br/>
<translate>Get decay values for the given particle</translate>
+
 
<source lang="lua">
+
=== Description ===
(number), (number), (number), (number) = Particles:getParticleDecay(i)
+
Gets decay values for the given particle.
</source>
+
<syntaxhighlight lang="lua">
=== <translate>Parameters</translate> ===
+
(number), (number), (number), (number), (vector) = Particles:getParticleDecay(i)
'''i''': (number) <translate>particle index</translate> <br/>
+
</syntaxhighlight>
=== <translate>Return values</translate> ===
+
 
'''<translate>Returns</translate>''' (number) <translate>speed decay factor</translate><br/>
+
=== Parameters ===
'''<translate>Returns</translate>''' (number) <translate>alpha decay factor</translate><br/>
+
'''i''': (number) particle index<br/>
'''<translate>Returns</translate>''' (number) <translate>growth speed decay factor</translate><br/>
+
 
'''<translate>Returns</translate>''' (number) <translate>angular speed decay factor</translate><br/>
+
=== Return values ===
 +
'''Returns''' (number) speed decay factor<br/>
 +
'''Returns''' (number) alpha decay factor<br/>
 +
'''Returns''' (number) growth speed decay factor<br/>
 +
'''Returns''' (number) angular speed decay factor<br/>
 +
'''Returns''' (number) speed decay vector (Since Gideros 2022.5)<br/>
 +
 
 +
{{Particles}}

Latest revision as of 20:35, 21 September 2023