W3cubDocs

/LÖVE

ParticleSystem:setTexture

Available since LÖVE 0.9.1
It has been renamed from ParticleSystem:setImage.

Sets the texture (Image or Canvas) to be used for the particles.

Function

Synopsis

ParticleSystem:setTexture( texture )

Arguments

Texture texture
An Image or Canvas to use for the particles.

Returns

Nothing.

See Also

© 2006–2016 LÖVE Development Team
Licensed under the GNU Free Documentation License, Version 1.3.
https://love2d.org/wiki/ParticleSystem:setTexture