Options
All
  • Public
  • Public/Protected
  • All
Menu

Options used to determine particle behaviors.

Ranges use a Vec where the x value is the minimum, and y is the maximum.

Hierarchy

  • ParticleOptions

Index

Properties

defaultSize

defaultSize: Vec

Default particle size to use if no display object passed in.

default

10 by 10

fill

fill: string

Fill style to use if no display object passed in.

default

'#900'

horizontalVelRange

horizontalVelRange: Vec

Range of values to use for horizontal velocity.

default

-5 to 5

lifeSecRange

lifeSecRange: Vec

Range of values to use for particle life in seconds.

default

.8 to 1.5

verticalVelRange

verticalVelRange: Vec

Range of values to use for vertical velocity.

default

-5 to -10