Difference between revisions of "ParticleSystem:getEmitterLifetime"
(Created page with "{{newin|0.9.0|090|type=function}} Gets how long the particle system will emit particles (if -1 then it emits particles forever). == Function == === Synopsis === <source lang=...") |
m (→Synopsis: s/set/get/) |
||
Line 4: | Line 4: | ||
=== Synopsis === | === Synopsis === | ||
<source lang="lua"> | <source lang="lua"> | ||
− | life = ParticleSystem: | + | life = ParticleSystem:getEmitterLifetime( ) |
</source> | </source> | ||
=== Arguments === | === Arguments === |
Latest revision as of 04:55, 1 September 2014
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
Other Languages
Dansk –
Deutsch –
English –
Español –
Français –
Indonesia –
Italiano –
Lietuviškai –
Magyar –
Nederlands –
Polski –
Português –
Română –
Slovenský –
Suomi –
Svenska –
Türkçe –
Česky –
Ελληνικά –
Български –
Русский –
Српски –
Українська –
עברית –
ไทย –
日本語 –
正體中文 –
简体中文 –
Tiếng Việt –
한국어
More info