FieldSweeper.particleSizeRandom

Availability

FieldSweeper component version 1.0

Usage

instance.particleSizeRandom

Description

Property; A percentage value used to randomize the size of each particle initially set by particleSize. Can be 0 - 100. A value of 0 means particles will always be set to the value of particleSize, while a value of 100 means the size can be anywhere from 0 to the value of particleSize.

Example

The following code sets up particles to be scaled in the range of 60-150%

myFieldSweeper.particleSize = 150;
myFieldSweeper.particleSizeRandom = 60;