Difference between revisions of "ParticleSystem:setLifetime"

Line 13: 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).}}
 +
{{#set:Since=000}}
 
== Other Languages ==
 
== Other Languages ==
 
{{i18n|ParticleSystem:setLifetime}}
 
{{i18n|ParticleSystem:setLifetime}}

Revision as of 10:06, 25 March 2011

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