Difference between revisions of "Particles:setParticleTag"
From GiderosMobile
| (5 intermediate revisions by 2 users not shown) | |||
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| − | ''' | + | '''Available since:''' in development<br/> |
| − | === | + | '''Class:''' [[Particles]]<br/> |
| − | + | ||
| − | < | + | === Description === |
| − | + | Sets the tag associated to the given particle. | |
| − | </ | + | <syntaxhighlight lang="lua"> |
| − | === | + | Particles:setParticleTag(i,tag) |
| − | '''i''': (number) | + | </syntaxhighlight> |
| − | '''tag''': (string) | + | |
| + | === Parameters === | ||
| + | '''i''': (number) particle index<br/> | ||
| + | '''tag''': (string) tag to associate to this particle<br/> | ||
| + | |||
| + | {{Particles}} | ||
Latest revision as of 20:58, 21 September 2023
Available since: in development
Class: Particles
Description
Sets the tag associated to the given particle.
Particles:setParticleTag(i,tag)
Parameters
i: (number) particle index
tag: (string) tag to associate to this particle
- 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:setMinimumSize
- Particles:setParticleAcceleration
- Particles:setParticleAngle
- Particles:setParticleColor
- Particles:setParticleDecay
- Particles:setParticleExtra
- Particles:setParticlePosition
- Particles:setParticleSize
- Particles:setParticleSpeed
- Particles:setParticleTag
- Particles:setParticleTtl
- Particles:setPaused
- Particles:setTexture