Difference between revisions of "Particles:getParticles"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' in development<br/> === Description === Retrieve particles states of this system <source lang="lua"> (table), = Particles:getParticles(settag,...")
 
(6 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' in development<br/>
+
<languages />
=== Description ===
+
'''<translate>Available since</translate>:''' in development<br/>
Retrieve particles states of this system
+
'''<translate>Class</translate>:''' [[Special:MyLanguage/Particles|Particles]]<br/>
 +
=== <translate>Description</translate> ===
 +
<translate>Retrieve particles states of this system</translate>
 
<source lang="lua">
 
<source lang="lua">
(table), = Particles:getParticles(settag,)
+
(table) = Particles:getParticles(set,tag)
 
</source>
 
</source>
'''set:''' (table, optional) Optional set of particle indices to query '''optional'''<br/>
+
=== <translate>Parameters</translate> ===
'''tag:''' (string, optional) only return particles matching this tag '''optional'''<br/>
+
'''set''': (table, optional) <translate>Optional set of particle indices to query</translate> '''optional'''<br/>
'''Returns''' (table) table containing the state of each particle in the system matching tag if any<br/>
+
'''tag''': (string, optional) <translate>only return particles matching this tag</translate> '''optional'''<br/>
 +
=== <translate>Return values</translate> ===
 +
'''<translate>Returns</translate>''' (table) <translate>table containing the state of each particle in the system matching tag if any</translate><br/>
 +
 
 +
{{Particles}}

Revision as of 23:21, 3 December 2019