Difference between revisions of "Particles:getParticleDecay"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' in development<br/> === Description === Get decay values for the given particle <source lang="lua"> (number) (number) (number) (number), = Par...")
 
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' in development<br/>
+
'''Available since:''' Gideros 2021.10<br/>
 +
'''Class:''' [[Particles]]<br/>
 +
 
 
=== Description ===
 
=== Description ===
Get decay values for the given particle
+
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>
'''i:''' (number) particle index ''''''<br/>
+
 
 +
=== Parameters ===
 +
'''i''': (number) particle index<br/>
 +
 
 +
=== Return values ===
 
'''Returns''' (number) speed decay factor<br/>
 
'''Returns''' (number) speed decay factor<br/>
 
'''Returns''' (number) alpha decay factor<br/>
 
'''Returns''' (number) alpha decay factor<br/>
 
'''Returns''' (number) growth speed decay factor<br/>
 
'''Returns''' (number) growth speed decay factor<br/>
 
'''Returns''' (number) angular 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