Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EmitterConfigV2

The obsolete emitter configuration format from version 3.0.0 of the library. This type information is kept to make it easy to upgrade, but otherwise configuration should be made as EmitterConfigV3.

Hierarchy

  • EmitterConfigV2

Index

Properties

acceleration?: { x: number; y: number }

Type declaration

  • x: number
  • y: number
addAtBack?: boolean
alpha?: ValueList<number>
angleStart?: number
autoUpdate?: boolean
blendMode?: string
color?: ValueList<string>
emit?: boolean
emitterLifetime?: number
extraData?: any
frequency: number
lifetime: RandNumber
maxParticles?: number
maxSpeed?: number
minimumScaleMultiplier?: number
minimumSpeedMultiplier?: number
noRotation?: boolean
orderedArt?: boolean
particleSpacing?: number
particlesPerWave?: number
pos: { x: number; y: number }

Type declaration

  • x: number
  • y: number
rotationAcceleration?: number
rotationSpeed?: RandNumber
scale?: ValueList<number>
spawnChance?: number
spawnCircle?: { minR?: number; r: number; x: number; y: number }

Type declaration

  • Optional minR?: number
  • r: number
  • x: number
  • y: number
spawnPolygon?: IPointData[] | IPointData[][]
spawnRect?: { h: number; w: number; x: number; y: number }

Type declaration

  • h: number
  • w: number
  • x: number
  • y: number
spawnType?: string

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

speed?: ValueList<number>
startRotation?: RandNumber

Generated using TypeDoc