B2.ParticleSystem:containsParticle: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
 
(7 intermediate revisions by 2 users not shown)
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''Available since:''' in development<br/>
'''Available since:''' Gideros 2015.06.30<br/>
'''Class:''' [[b2.ParticleSystem]]<br/>
 
=== Description ===
=== Description ===
<translate>Returns true of particle is within the particle system</translate>
Returns true if the particle is within the particle system.
<source lang="lua">
<syntaxhighlight lang="lua">
(boolean) = b2.ParticleSystem:containsParticle(id)
(boolean) = b2.ParticleSystem:containsParticle(id)
</source>
</syntaxhighlight>
 
=== Parameters ===
=== Parameters ===
'''id''': (number) <translate>Particle id</translate> <br/>
'''id''': (number) Particle id<br/>
 
=== Return values ===
=== Return values ===
'''Returns''' (boolean) <translate>True if the particle is within the particle system else false.</translate><br/>
'''Returns''' (boolean) true if the particle is within the particle system else false<br/>
 
{{B2.ParticleSystem}}

Latest revision as of 04:57, 8 November 2024