Difference between revisions of "Particles:getParticleAcceleration"

From GiderosMobile
(Created page with "__NOTOC__ <languages /> '''<translate>Available since</translate>:''' Gideros 2022.5<br/> '''<translate>Class</translate>:''' Particles<br/> =...")
 
 
(2 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2022.5<br/>
'''<translate>Available since</translate>:''' Gideros 2022.5<br/>
+
'''Class:''' [[Particles]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Particles|Particles]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Get acceleration values for the given particle</translate>
+
Gets acceleration values for the given particle.
<source lang="lua">
+
<syntaxhighlight lang="lua">
 
(vector), (number), (number), (number) = Particles:getParticleAcceleration(i)
 
(vector), (number), (number), (number) = Particles:getParticleAcceleration(i)
</source>
+
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''i''': (number) <translate>particle index</translate> <br/>
+
=== Parameters ===
=== <translate>Return values</translate> ===
+
'''i''': (number) particle index<br/>
'''<translate>Returns</translate>''' (vector) <translate>acceleration</translate><br/>
+
 
'''<translate>Returns</translate>''' (number) <translate>alpha acceleration</translate><br/>
+
=== Return values ===
'''<translate>Returns</translate>''' (number) <translate>growth acceleration</translate><br/>
+
'''Returns''' (vector) acceleration<br/>
'''<translate>Returns</translate>''' (number) <translate>angular acceleration</translate><br/>
+
'''Returns''' (number) alpha acceleration<br/>
 +
'''Returns''' (number) growth acceleration<br/>
 +
'''Returns''' (number) angular acceleration<br/>
  
 
{{Particles}}
 
{{Particles}}

Latest revision as of 20:33, 21 September 2023