Difference between revisions of "Particles:setParticleDecay"
From GiderosMobile
Line 14: | Line 14: | ||
'''decayGrowth''': (number) <translate>growth speed decay factor</translate> <br/> | '''decayGrowth''': (number) <translate>growth speed decay factor</translate> <br/> | ||
'''decayAngular''': (number) <translate>angular speed decay factor</translate> <br/> | '''decayAngular''': (number) <translate>angular speed decay factor</translate> <br/> | ||
+ | |||
+ | {{Particles}} |
Revision as of 22:22, 3 December 2019
Available since: in development
Class: Particles
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
- Particles
- Particles.new
- Particles:addParticles
- Particles:clearTexture
- Particles:getDeadParticles
- Particles:getNearestParticle
- Particles:getNumParticles
- Particles:getParticleAcceleration
- Particles:getParticleAngle
- Particles:getParticleColor
- Particles:getParticleDecay
- Particles:getParticleExtra
- Particles:getParticlePosition
- Particles:getParticleSize
- Particles:getParticleSpeed
- Particles:getParticleTag
- Particles:getParticleTtl
- Particles:getParticles
- Particles:isPaused
- Particles:removeParticles
- Particles:scaleParticles
- Particles:setParticleAcceleration
- Particles:setParticleAngle
- Particles:setParticleColor
- Particles:setParticleDecay
- Particles:setParticleExtra
- Particles:setParticlePosition
- Particles:setParticleSize
- Particles:setParticleSpeed
- Particles:setParticleTag
- Particles:setParticleTtl
- Particles:setPaused
- Particles:setTexture