Difference between revisions of "ParticleSystem:setLifetime"

m (1 revision: Importing from potato (again).)
Line 1: Line 1:
 
 
Sets how long the particle system should emit particles (if -1 then it emits particles forever).
 
Sets how long the particle system should emit particles (if -1 then it emits particles forever).
 
== Function ==
 
== Function ==
Line 14: Line 13:
 
[[Category:Functions]]
 
[[Category:Functions]]
 
{{#set:Description=Sets how long the particle system should emit particles (if -1 then it emits particles forever).}}
 
{{#set:Description=Sets how long the particle system should emit particles (if -1 then it emits particles forever).}}
 +
== Other Languages ==
 +
{{i18n|ParticleSystem:setLifetime}}

Revision as of 19:22, 18 November 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

Other Languages