Difference between revisions of "B2.ParticleSystem:containsParticle"

From GiderosMobile
 
(8 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 ===
Returns true of particle is within the particle system
+
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) Particle id <br/>
+
'''id''': (number) Particle id<br/>
 +
 
 
=== Return values ===
 
=== Return values ===
'''Returns''' (boolean) True if the particle is within the particle system else false.<br/>
+
'''Returns''' (boolean) true if the particle is within the particle system else false<br/>
 +
 
 +
{{B2.ParticleSystem}}

Latest revision as of 05:57, 8 November 2024