Difference between revisions of "Particles:setParticleAngle"

From GiderosMobile
 
(6 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>set angle of particle</translate>
+
Sets the angle of a particle.
<source lang="lua">
+
<syntaxhighlight lang="lua">
Particles:setParticleAngle(i,angle)
+
Particles:setParticleAngle(i,angle)
</source>
+
</syntaxhighlight>
 +
 
 
=== Parameters ===
 
=== Parameters ===
'''i''': (number) <translate>index of particle</translate> <br/>
+
'''i''': (number) index of particle<br/>
'''angle''': (number) <translate>angle in degrees</translate> <br/>
+
'''angle''': (number) angle in degrees<br/>
 +
 
 +
{{Particles}}

Latest revision as of 20:52, 21 September 2023