Spec-Zone.ru › LÖVE

ParticleSystem:getEmitterLifetime

Available since LÖVE 0.9.0
This function is not supported in earlier versions.

Gets how long the particle system will emit particles (if -1 then it emits particles forever).

Function

Synopsis

life = ParticleSystem:getEmitterLifetime( )

Arguments

Nothing.

Returns

number life
The lifetime of the emitter (in seconds).

See Also

  • ParticleSystem
  • ParticleSystem:setEmitterLifetime

© 2006–2020 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/ParticleSystem:getEmitterLifetime

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API