Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EmitterConfig

Hierarchy

  • EmitterConfig

Index

Properties

Optional acceleration

acceleration: { x: number; y: number }

Type declaration

  • x: number
  • y: number

Optional addAtBack

addAtBack: boolean

Optional alpha

alpha: ValueList<number>

Optional angleStart

angleStart: number

Optional autoUpdate

autoUpdate: boolean

Optional blendMode

blendMode: string

Optional color

color: ValueList<string>

Optional ease

Optional emit

emit: boolean

Optional emitterLifetime

emitterLifetime: number

Optional extraData

extraData: any

frequency

frequency: number

lifetime

lifetime: RandNumber

Optional maxParticles

maxParticles: number

Optional maxSpeed

maxSpeed: number

Optional minimumScaleMultiplier

minimumScaleMultiplier: number

Optional minimumSpeedMultiplier

minimumSpeedMultiplier: number

Optional noRotation

noRotation: boolean

Optional orderedArt

orderedArt: boolean

Optional particleSpacing

particleSpacing: number

Optional particlesPerWave

particlesPerWave: number

pos

pos: { x: number; y: number }

Type declaration

  • x: number
  • y: number

Optional rotationAcceleration

rotationAcceleration: number

Optional rotationSpeed

rotationSpeed: RandNumber

Optional scale

scale: ValueList<number>

Optional spawnChance

spawnChance: number

Optional spawnCircle

spawnCircle: { minR?: number; r: number; x: number; y: number }

Type declaration

  • Optional minR?: number
  • r: number
  • x: number
  • y: number

Optional spawnPolygon

spawnPolygon: BasicPoint[] | BasicPoint[][]

Optional spawnRect

spawnRect: { h: number; w: number; x: number; y: number }

Type declaration

  • h: number
  • w: number
  • x: number
  • y: number

Optional spawnType

spawnType: string

Really "rect"|"circle"|"ring"|"burst"|"point"|"polygonalChain", but that tends to be too strict for random object creation.

Optional speed

speed: ValueList<number>

Optional startRotation

startRotation: RandNumber

Generated using TypeDoc