Difference between revisions of "Particles:setParticleDecay"
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>Configure decay values for the given particle</translate> | <translate>Configure decay values for the given particle</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
Particles:setParticleDecay(i,decay,decayAlpha,decayGrowth,decayAngular) | Particles:setParticleDecay(i,decay,decayAlpha,decayGrowth,decayAngular) | ||
</source> | </source> | ||
− | === Parameters === | + | === <translate>Parameters</translate> === |
'''i''': (number) <translate>particle index</translate> <br/> | '''i''': (number) <translate>particle index</translate> <br/> | ||
'''decay''': (number) <translate>speed decay factor</translate> <br/> | '''decay''': (number) <translate>speed decay factor</translate> <br/> |
Revision as of 07:29, 24 August 2018
Available since: in development
Description
Configure decay values for the given particle
Particles:setParticleDecay(i,decay,decayAlpha,decayGrowth,decayAngular)
Parameters
i: (number) particle index
decay: (number) speed decay factor
decayAlpha: (number) alpha decay factor
decayGrowth: (number) growth speed decay factor
decayAngular: (number) angular speed decay factor