Difference between revisions of "Particles:getParticles"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2016.10<br/>
'''<translate>Available since</translate>:''' in development<br/>
+
'''Class:''' [[Particles]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/Particles|Particles]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate>Retrieve particles states of this system</translate>
+
Retrieves the particles states of this system.
 
<syntaxhighlight lang="lua">
 
<syntaxhighlight lang="lua">
 
(table) = Particles:getParticles(set,tag)
 
(table) = Particles:getParticles(set,tag)
 
</syntaxhighlight>
 
</syntaxhighlight>
=== <translate>Parameters</translate> ===
+
 
'''set''': (table, optional) <translate>Optional set of particle indices to query</translate> '''optional'''<br/>
+
=== Parameters ===
'''tag''': (string, optional) <translate>only return particles matching this tag</translate> '''optional'''<br/>
+
'''set''': (table, optional) optional set of particle indices to query '''optional'''<br/>
=== <translate>Return values</translate> ===
+
'''tag''': (string, optional) only return particles matching this tag '''optional'''<br/>
'''<translate>Returns</translate>''' (table) <translate>table containing the state of each particle in the system matching tag if any</translate><br/>
+
 
 +
=== Return values ===
 +
'''Returns''' (table) table containing the state of each particle in the system matching tag if any<br/>
  
 
{{Particles}}
 
{{Particles}}

Latest revision as of 20:46, 21 September 2023