Difference between revisions of "Particles:setParticlePosition"
From GiderosMobile
Line 6: | Line 6: | ||
<translate>set position of particle</translate> | <translate>set position of particle</translate> | ||
<source lang="lua"> | <source lang="lua"> | ||
− | Particles:setParticlePosition(i,x,y) | + | Particles:setParticlePosition(i,x,y,z) |
</source> | </source> | ||
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
Line 12: | Line 12: | ||
'''x''': (number) <translate>x position</translate> <br/> | '''x''': (number) <translate>x position</translate> <br/> | ||
'''y''': (number) <translate>y position</translate> <br/> | '''y''': (number) <translate>y position</translate> <br/> | ||
+ | '''z''': (number) <translate>z position</translate> (Since Gideros 2022.5)<br/> | ||
{{Particles}} | {{Particles}} |
Revision as of 14:01, 25 April 2022
Available since: Gideros 2016.06
Class: Particles
Description
set position of particle
Particles:setParticlePosition(i,x,y,z)
Parameters
i: (number) index of particle
x: (number) x position
y: (number) y position
z: (number) z position (Since Gideros 2022.5)
- 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