B2.ParticleSystem:containsParticle: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
'''Available since:''' in development<br/> | '''Available since:''' in development<br/> | ||
=== Description === | === Description === | ||
Returns true of particle is within the particle system | <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 === | === Parameters === | ||
'''id''': (number) Particle id <br/> | '''id''': (number) <translate>Particle id</translate> <br/> | ||
=== Return values === | === Return values === | ||
'''Returns''' (boolean) True if the particle is within the particle system else false.<br/> | '''Returns''' (boolean) <translate>True if the particle is within the particle system else false.</translate><br/> | ||
Revision as of 12:34, 23 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.