Difference between revisions of "Particles:getParticlePosition"

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