Difference between revisions of "Particles:setParticlePosition"

From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight")
 
(One intermediate revision 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.
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
Particles:setParticlePosition(i,x,y,z)
+
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/>
'''z''': (number) <translate>z position</translate> (Since Gideros 2022.5)<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