Difference between revisions of "Particles:getParticlePosition"

From GiderosMobile
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''Available since:''' Gideros 2016.06<br/>
 
'''Available since:''' Gideros 2016.06<br/>
 +
'''Class:''' [[Particles]]<br/>
 +
 
=== Description ===
 
=== Description ===
<translate>get position of particle</translate>
+
Gets the position of the given particle.
<source lang="lua">
+
<syntaxhighlight lang="lua">
(number), (number) = Particles:getParticlePosition(i)
+
(number), (number), (number) = Particles:getParticlePosition(i)
</source>
+
</syntaxhighlight>
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''i''': (number) <translate>index of particle</translate> <br/>
+
'''i''': (number) index of particle<br/>
 +
 
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) <translate>x position</translate><br/>
+
'''Returns''' (number) x position<br/>
'''Returns''' (number) <translate>y position</translate><br/>
+
'''Returns''' (number) y position<br/>
 +
'''Returns''' (number) z position (Since Gideros 2022.5)<br/>
 +
 
 +
{{Particles}}

Latest revision as of 20:37, 21 September 2023