Difference between revisions of "B2.ParticleSystem:containsParticle"

From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' in development<br/> === Description === Returns true of particle is within the particle system <source lang="lua"> (boolean), = b2.ParticleSys...")
 
 
(10 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>
'''id:''' (number) Particle id ''''''<br/>
+
 
'''Returns''' (boolean) True if the particle is within the particle system else false.<br/>
+
=== Parameters ===
 +
'''id''': (number) Particle id<br/>
 +
 
 +
=== Return values ===
 +
'''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