Difference between revisions of "ParticleSystem:setLifetime"

m (1 revision: Imported docs from potato.)
Line 1: Line 1:
  
 
+
Sets how long the particle system should emit particles (if -1 then it emits particles forever).
 
== Function ==
 
== Function ==
 
=== Synopsis ===
 
=== Synopsis ===
Line 13: Line 13:
 
* [[parent::ParticleSystem]]
 
* [[parent::ParticleSystem]]
 
[[Category:Functions]]
 
[[Category:Functions]]
{{#set:Description=}}
+
{{#set:Description=Sets how long the particle system should emit particles (if -1 then it emits particles forever).}}

Revision as of 16:17, 14 February 2010

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

Function

Synopsis

ParticleSystem:setLifetime( life )

Arguments

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

Returns

Nothing.

See Also