Difference between revisions of "Particles:getParticleDecay"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2021.10<br/>
'''<translate>Available since</translate>:''' Gideros 2021.10<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.
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(number), (number), (number), (number), (vector) = Particles:getParticleDecay(i)
 
(number), (number), (number), (number), (vector) = Particles:getParticleDecay(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>''' (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/>
'''<translate>Returns</translate>''' (number) <translate>speed decay vector</translate> (Since Gideros 2022.5)<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