Difference between revisions of "Particles:getParticleSpeed"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2016.06<br/>
 
'''Available since:''' Gideros 2016.06<br/>
 
=== Description ===
 
=== Description ===
Get speed of particle
+
<translate>Get speed of particle</translate>
 
<source lang="lua">
 
<source lang="lua">
 
(number), (number), (number), (number) = Particles:getParticleSpeed(i)
 
(number), (number), (number), (number) = Particles:getParticleSpeed(i)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''i''': (number) particle index <br/>
+
'''i''': (number) <translate>particle index</translate> <br/>
 
=== Return values ===
 
=== Return values ===
'''Returns''' (number) x vector<br/>
+
'''Returns''' (number) <translate>x vector</translate><br/>
'''Returns''' (number) y vector<br/>
+
'''Returns''' (number) <translate>y vector</translate><br/>
'''Returns''' (number) angular velocity<br/>
+
'''Returns''' (number) <translate>angular velocity</translate><br/>
'''Returns''' (number) growth speed<br/>
+
'''Returns''' (number) <translate>growth speed</translate><br/>

Revision as of 13:38, 23 August 2018

Available since: Gideros 2016.06

Description

Get speed of particle

(number), (number), (number), (number) = Particles:getParticleSpeed(i)

Parameters

i: (number) particle index

Return values

Returns (number) x vector
Returns (number) y vector
Returns (number) angular velocity
Returns (number) growth speed