PcoWSkbVqDnWTu_dm2ix
The Developer Hub is now deprecated and information on this page may no longer be accurate. To see our new and improved documentation, please click here. You can read more about the future of documentation here.
Collapse Sidebar

Clear

The Clear method will instantly destroy any existing particles that have been emit by the ParticleEmitter via its natural emission (nonzero ParticleEmitter/Rate on an ParticleEmitter/Enabled emitter) or via ParticleEmitter/Emit. It is not possible to clear individual particles - all are deleted at once.

Sometimes it is desirable to clear particles before teleporting a character so that there are no lingering effects that might follow due to ParticleEmitter/LockedToPart.

Returns

Return Type Summary

Code Samples


ParticleEmitter Burst

This code sample causes a ParticleEmitter to ParticleEmitter/Emit particles in bursts of 10 every 2 seconds. It ParticleEmitter/Clears any existing particles before doing so.