Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface EmitterConfigV1

The obsolete emitter configuration format of the initial library release. This type information is kept to maintain compatibility with the older particle tool, but otherwise configuration should be made as EmitterConfigV3.

Hierarchy

  • EmitterConfigV1

Index

Properties

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

Type declaration

  • x: number
  • y: number
addAtBack?: boolean
alpha?: BasicTweenable<number>
angleStart?: number
autoUpdate?: boolean
blendMode?: string
color?: BasicTweenable<string>
emit?: boolean
emitterLifetime?: number
extraData?: any
frequency: number
lifetime: RandNumber
maxParticles?: number
maxSpeed?: 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?: BasicTweenable<number> & { minimumScaleMultiplier?: 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?: BasicTweenable<number> & { minimumSpeedMultiplier?: number }
startRotation?: RandNumber

Generated using TypeDoc