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...")
 
Line 4: Line 4:
 
Get decay values for the given particle
 
Get decay values for the given particle
 
<source lang="lua">
 
<source lang="lua">
(number) (number) (number) (number), = Particles:getParticleDecay(i,)
+
(number), (number), (number), (number) = Particles:getParticleDecay(i)
 
</source>
 
</source>
'''i:''' (number) particle index ''''''<br/>
+
'''i''': (number) particle index ''''''<br/>
 
'''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/>

Revision as of 10:21, 23 August 2018

Available since: in development

Description

Get decay values for the given particle

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

'i: (number) particle index '
Returns (number) speed decay factor
Returns (number) alpha decay factor
Returns (number) growth speed decay factor
Returns (number) angular speed decay factor