Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ParticleEmitterObjectPixiRenderer

Index

Methods

  • computeLifetime(flow: number, tank: number): number
  • Parameters

    • flow: number
    • tank: number

    Returns number

  • destroy(): void
  • Returns void

  • getParticleCount(): number
  • Returns number

  • getRendererObject(): any
  • Returns any

  • hasStarted(): boolean
  • Returns boolean

  • recreate(): void
  • Returns void

  • resetEmission(flow: number, tank: number): void
  • Parameters

    • flow: number
    • tank: number

    Returns void

  • setAdditiveRendering(enabled: boolean): void
  • Parameters

    • enabled: boolean

    Returns void

  • setAlpha(alpha1: number, alpha2: number): void
  • Parameters

    • alpha1: number
    • alpha2: number

    Returns void

  • setAngle(angle1: number, angle2: number): void
  • Parameters

    • angle1: number
    • angle2: number

    Returns void

  • setColor(r1: number, g1: number, b1: number, r2: number, g2: number, b2: number): void
  • Parameters

    • r1: number
    • g1: number
    • b1: number
    • r2: number
    • g2: number
    • b2: number

    Returns void

  • setFlow(flow: number, tank: number): void
  • Parameters

    • flow: number
    • tank: number

    Returns void

  • setForce(min: number, max: number): void
  • Parameters

    • min: number
    • max: number

    Returns void

  • setGravity(x: number, y: number): void
  • Parameters

    • x: number
    • y: number

    Returns void

  • setLifeTime(min: number, max: number): void
  • Parameters

    • min: number
    • max: number

    Returns void

  • setMaxParticlesCount(count: number): void
  • Parameters

    • count: number

    Returns void

  • setParticleRotationSpeed(min: number, max: number): void
  • Parameters

    • min: number
    • max: number

    Returns void

  • setPosition(x: number, y: number): void
  • Parameters

    • x: number
    • y: number

    Returns void

  • setSize(size1: number, size2: number): void
  • Parameters

    • size1: number
    • size2: number

    Returns void

  • setZoneRadius(radius: number): void
  • Parameters

    • radius: number

    Returns void

  • start(): void
  • Returns void

  • stop(): void
  • Returns void

  • update(delta: number): void
  • Parameters

    • delta: number

    Returns void

Constructors

Properties

emitter: any
renderer: any
started: boolean = false

Generated using TypeDoc