Difference between revisions of "ParticleSystem:getParticleLifetime"

(Created page with "{{newin|0.9.0|090|type=function}} Gets the lifetime of the particles. == Function == === Synopsis === <source lang="lua"> min, max = ParticleSystem:getParticleLifetime( ) </s...")
 
(No difference)

Latest revision as of 01:07, 30 December 2013

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

Gets the lifetime of the particles.

Function

Synopsis

min, max = ParticleSystem:getParticleLifetime( )

Arguments

Nothing.

Returns

number min
The minimum life of the particles (in seconds).
number max
The maximum life of the particles (in seconds).

See Also

Other Languages