Difference between revisions of "Particles:setParticlePosition"

From GiderosMobile
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2016.06<br/>
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
+
'''Class:''' [[Particles]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Particles|Particles]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>set position of particle</translate>
+
Sets the position of a particle.
<source lang="lua">
+
<syntaxhighlight lang="lua">
Particles:setParticlePosition(i,x,y)
+
Particles:setParticlePosition(i,x,y,z)
</source>
+
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''i''': (number) <translate>index of particle</translate> <br/>
+
=== Parameters ===
'''x''': (number) <translate>x position</translate> <br/>
+
'''i''': (number) index of particle<br/>
'''y''': (number) <translate>y position</translate> <br/>
+
'''x''': (number) x position<br/>
 +
'''y''': (number) y position<br/>
 +
'''z''': (number) z position (Since Gideros 2022.5)<br/>
  
 
{{Particles}}
 
{{Particles}}

Latest revision as of 20:55, 21 September 2023