Difference between revisions of "Particles:removeParticles"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2016.06<br/>
 
'''Available since:''' Gideros 2016.06<br/>
 
=== Description ===
 
=== Description ===
Remove particles by index in table or as arguments
+
<translate>Remove particles by index in table or as arguments
  
 
remove all particles
 
remove all particles
`particles:removeParticles()`
+
[[[particles:removeParticles()]]]
  
 
or remove specific partilces:
 
or remove specific partilces:
  
`particles:removeParticles({1,2,3})`
+
[[[particles:removeParticles({1,2,3})]]]
  
 
or
 
or
  
`particles:removeParticles(1,2,3)`
+
[[[particles:removeParticles(1,2,3)]]]</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Particles:removeParticles(particle indeces)
 
  Particles:removeParticles(particle indeces)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''particle indeces''': (table or arguments) table or arguments of indexes to remove <br/>
+
'''particle indeces''': (table or arguments) <translate>table or arguments of indexes to remove</translate> <br/>

Revision as of 13:34, 23 August 2018

Available since: Gideros 2016.06

Description

Remove particles by index in table or as arguments

remove all particles [[[particles:removeParticles()]]]

or remove specific partilces:

[[[particles:removeParticles({1,2,3})]]]

or

[[[particles:removeParticles(1,2,3)]]]

 Particles:removeParticles(particle indeces)

Parameters

particle indeces: (table or arguments) table or arguments of indexes to remove