Difference between revisions of "Particles:getParticleDecay"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' in development<br/>
 
'''Available since:''' in development<br/>
 
=== Description ===
 
=== Description ===
Get decay values for the given particle
+
<translate>Get decay values for the given particle</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number), (number), (number), (number) = Particles:getParticleDecay(i)
 
(number), (number), (number), (number) = Particles:getParticleDecay(i)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''i''': (number) particle index <br/>
+
'''i''': (number) <translate>particle index</translate> <br/>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) speed decay factor<br/>
+
'''Returns''' (number) <translate>speed decay factor</translate><br/>
'''Returns''' (number) alpha decay factor<br/>
+
'''Returns''' (number) <translate>alpha decay factor</translate><br/>
'''Returns''' (number) growth speed decay factor<br/>
+
'''Returns''' (number) <translate>growth speed decay factor</translate><br/>
'''Returns''' (number) angular speed decay factor<br/>
+
'''Returns''' (number) <translate>angular speed decay factor</translate><br/>

Revision as of 13:34, 23 August 2018

Available since: in development

Description

Get decay values for the given particle

(number), (number), (number), (number) = Particles:getParticleDecay(i)

Parameters

i: (number) particle index

Return values

Returns (number) speed decay factor
Returns (number) alpha decay factor
Returns (number) growth speed decay factor
Returns (number) angular speed decay factor