Difference between revisions of "Particles:getParticleSpeed"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
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>Get speed of particle</translate>
+
Gets the speed of a particle.
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(number), (number), (number), (number) = Particles:getParticleSpeed(i)
 
(number), (number), (number), (number) = Particles:getParticleSpeed(i)
 
</syntaxhighlight>
 
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''i''': (number) <translate>particle index</translate> <br/>
+
=== Parameters ===
=== <translate>Return values</translate> ===
+
'''i''': (number) particle index<br/>
'''<translate>Returns</translate>''' (number) <translate>x speed</translate><br/>
+
 
'''<translate>Returns</translate>''' (number) <translate>y speed</translate><br/>
+
=== Return values ===
'''<translate>Returns</translate>''' (number) <translate>z speed</translate>(if the particle set is 3D)<br/>
+
'''Returns''' (number) x speed<br/>
'''<translate>Returns</translate>''' (number) <translate>angular velocity</translate><br/>
+
'''Returns''' (number) y speed<br/>
'''<translate>Returns</translate>''' (number) <translate>growth speed</translate><br/>
+
'''Returns''' (number) z speed(if the particle set is 3D)<br/>
 +
'''Returns''' (number) angular velocity<br/>
 +
'''Returns''' (number) growth speed<br/>
  
 
{{Particles}}
 
{{Particles}}

Latest revision as of 20:39, 21 September 2023