B2.ParticleSystem:containsParticle: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''Available since:''' in development<br/>
'''<translate>Available since</translate>:''' in development<br/>
=== Description ===
=== <translate>Description</translate> ===
<translate>Returns true of particle is within the particle system</translate>
<translate>Returns true of particle is within the particle system</translate>
<source lang="lua">
<source lang="lua">
(boolean) = b2.ParticleSystem:containsParticle(id)
(boolean) = b2.ParticleSystem:containsParticle(id)
</source>
</source>
=== Parameters ===
=== <translate>Parameters</translate> ===
'''id''': (number) <translate>Particle id</translate> <br/>
'''id''': (number) <translate>Particle id</translate> <br/>
=== Return values ===
=== <translate>Return values</translate> ===
'''Returns''' (boolean) <translate>True if the particle is within the particle system else false.</translate><br/>
'''<translate>Returns</translate>''' (boolean) <translate>True if the particle is within the particle system else false.</translate><br/>

Revision as of 06:28, 24 August 2018

Available since: in development

Description

Returns true of particle is within the particle system

(boolean) = b2.ParticleSystem:containsParticle(id)

Parameters

id: (number) Particle id

Return values

Returns (boolean) True if the particle is within the particle system else false.