Difference between revisions of "Particles:setParticleSpeed"

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>Set speed of particles</translate>
+
Sets the speed of particles.
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
Particles:setParticleSpeed(i,x,y,[z],a,s)
+
Particles:setParticleSpeed(i,x,y,[z],a,s)
 
</syntaxhighlight>
 
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''i''': (number) <translate>particle index</translate> <br/>
+
=== Parameters ===
'''x''': (number) <translate>x speed</translate> '''optional'''<br/>
+
'''i''': (number) particle index<br/>
'''y''': (number) <translate>y speed</translate> '''optional'''<br/>
+
'''x''': (number) x speed '''optional'''<br/>
'''z''': (number) <translate>z speed</translate> (if the particle set is 3D) '''optional'''<br/>
+
'''y''': (number) y speed '''optional'''<br/>
'''a''': (number) <translate>angular velocity</translate> '''optional'''<br/>
+
'''z''': (number) z speed (if the particle set is 3D) '''optional'''<br/>
'''s''': (number) <translate>growth speed</translate> '''optional'''<br/>
+
'''a''': (number) angular velocity '''optional'''<br/>
 +
'''s''': (number) growth speed '''optional'''<br/>
  
 
{{Particles}}
 
{{Particles}}

Latest revision as of 20:57, 21 September 2023