Difference between revisions of "Particles:removeParticles"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
 
'''<translate>Available since</translate>:''' Gideros 2016.06<br/>
 +
'''<translate>Class</translate>:''' [[Special:MyLanguage/Particles|Particles]]<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
 
<translate>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
[[Special:MyLanguage/particles:removeParticles()|particles:removeParticles()]]
+
`particles:removeParticles()`
  
 
or remove specific partilces:
 
or remove specific partilces:
  
[[Special:MyLanguage/particles:removeParticles({1,2,3})|particles:removeParticles({1,2,3})]]
+
`particles:removeParticles({1,2,3})`
  
 
or
 
or
  
[[Special:MyLanguage/particles:removeParticles(1,2,3)|particles:removeParticles(1,2,3)]]</translate>
+
`particles:removeParticles(1,2,3)`</translate>
 
<source lang="lua">
 
<source lang="lua">
 
  Particles:removeParticles(particle indeces)
 
  Particles:removeParticles(particle indeces)

Revision as of 09:29, 24 August 2018

Available since: Gideros 2016.06
Class: Particles

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