Difference between revisions of "Particles:getParticleDecay"

From GiderosMobile
 
(4 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2021.10<br/>
'''<translate>Available since</translate>:''' in development<br/>
+
'''Class:''' [[Particles]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Particles|Particles]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Get decay values for the given particle</translate>
+
Gets decay values for the given particle.
<source lang="lua">
+
<syntaxhighlight lang="lua">
(number), (number), (number), (number) = Particles:getParticleDecay(i)
+
(number), (number), (number), (number), (vector) = Particles:getParticleDecay(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>''' (number) <translate>speed decay factor</translate><br/>
+
 
'''<translate>Returns</translate>''' (number) <translate>alpha decay factor</translate><br/>
+
=== Return values ===
'''<translate>Returns</translate>''' (number) <translate>growth speed decay factor</translate><br/>
+
'''Returns''' (number) speed decay factor<br/>
'''<translate>Returns</translate>''' (number) <translate>angular speed decay factor</translate><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}}
 
{{Particles}}

Latest revision as of 20:35, 21 September 2023