FieldSweeper.particulatorInstance

Availability

FieldSweeper component version 1.0

Usage

instance.particulatorInstance

Description

Property; the instance name of a Particulator component which is used to generate particles for the field. When using the Particulator, new particles are created and destroyed on each frame. Use the Particulator by setting fieldGeneration to particulator.

Example

The following code sets the component to use the particulator component.

myFieldSweeper.particulator = "myParticulator";
myFieldSweeper.fieldGeneration = "particulator";