Difference between revisions of "Particles:setParticleDecay"

From GiderosMobile
(removed language stuff)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2016.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>Configure decay values for the given particle</translate>
+
Configures decay values for the given particle.
 
<source lang="lua">
 
<source lang="lua">
Particles:setParticleDecay(i,decay,decayAlpha,decayGrowth,decayAngular)
+
Particles:setParticleDecay(i,decay,decayAlpha,decayGrowth,decayAngular)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''i''': (number) <translate>particle index</translate> <br/>
+
=== Parameters ===
'''decay''': (number) <translate>speed decay factor</translate> <br/>
+
'''i''': (number) particle index<br/>
'''decayAlpha''': (number) <translate>alpha decay factor</translate> <br/>
+
'''decay''': (number) speed decay factor<br/>
'''decayGrowth''': (number) <translate>growth speed decay factor</translate> <br/>
+
'''decayAlpha''': (number) alpha decay factor<br/>
'''decayAngular''': (number) <translate>angular speed decay factor</translate> <br/>
+
'''decayGrowth''': (number) growth speed decay factor<br/>
 +
'''decayAngular''': (number) angular speed decay factor<br/>
  
 
{{Particles}}
 
{{Particles}}

Revision as of 17:40, 27 December 2021