Difference between revisions of "B2.ParticleSystem:containsParticle"

From GiderosMobile
m (Text replacement - "</source" to "</syntaxhighlight")
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<languages />
 
'''Available since:''' in development<br/>
 
'''Available since:''' in development<br/>
 +
'''Class:''' [[Special:MyLanguage/b2.ParticleSystem|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 17:35, 12 July 2023