FieldSweeper.removeAllParticles()

Availability

FieldSweeper component version 1.0

Usage

instance.removeAllParticles();

Parameters

None.

Returns

Nothing.

Description

Method; removes all currently active particles generated by the component, effectively clearing the scene. The removal only occurs if fieldGeneration is set to generate.

Example

The following code clears all particles off the stage:

myFieldSweeper.removeAllParticles();