Difference between revisions of "Particles:getParticleDecay"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' in development<br/>
+
'''<translate>Available since</translate>:''' in development<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate>Get decay values for the given particle</translate>
 
<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 ===
+
=== <translate>Parameters</translate> ===
 
'''i''': (number) <translate>particle index</translate> <br/>
 
'''i''': (number) <translate>particle index</translate> <br/>
=== Return values ===
+
=== <translate>Return values</translate> ===
'''Returns''' (number) <translate>speed decay factor</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>speed decay factor</translate><br/>
'''Returns''' (number) <translate>alpha decay factor</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>alpha decay factor</translate><br/>
'''Returns''' (number) <translate>growth speed decay factor</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>growth speed decay factor</translate><br/>
'''Returns''' (number) <translate>angular speed decay factor</translate><br/>
+
'''<translate>Returns</translate>''' (number) <translate>angular speed decay factor</translate><br/>

Revision as of 07:28, 24 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