ParticleSystem:clone

ParticleSystem:clone

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

Creates an identical copy of the ParticleSystem in the stopped state.

Function

Synopsis

particlesystem = ParticleSystem:clone( )

Arguments

None.

Returns

ParticleSystem particlesystem
The new identical copy of this ParticleSystem.

Notes

Cloned ParticleSystem inherit all the set-able state of the original ParticleSystem, but they are initialized stopped.

See Also

doc_love
2017-03-21 15:51:29
Comments
Leave a Comment

Please login to continue.