Difference between revisions of "Particles:getParticleColor"
From GiderosMobile
Line 13: | Line 13: | ||
'''<translate>Returns</translate>''' (color) <translate>color value</translate><br/> | '''<translate>Returns</translate>''' (color) <translate>color value</translate><br/> | ||
'''<translate>Returns</translate>''' (alpha) <translate>alpha value from 0 to 1</translate><br/> | '''<translate>Returns</translate>''' (alpha) <translate>alpha value from 0 to 1</translate><br/> | ||
+ | |||
+ | {{Particles}} |
Revision as of 22:19, 3 December 2019
Available since: Gideros 2016.06
Class: Particles
Description
Get color and alpha value of particle
(color), (alpha) = Particles:getParticleColor(i)
Parameters
i: (number) particle index
Return values
Returns (color) color value
Returns (alpha) alpha value from 0 to 1
- 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