FieldSweeper.alphaRandom

Availability

FieldSweeper component version 1.0

Usage

instance.alphaRandom

Description

Property; Percentage value (0-100) that indicates how much random variation to apply to the initial alpha value of each particle. A value of 0 indicates alpha values particles are always set to initialAlpha. A value of 100 means the initial alpha can be anywhere from 0 to initialAlpha.

Example

The following code sets up particles initial alpha to be in the range of 25 - 75:

myFieldSweeper.alphaInitial = 75;
myFieldSweeper.alphaRandom = 66;