Options
All
  • Public
  • Public/Protected
  • All
Menu

A full-screen weather effect which renders gently falling autumn leaves.

Hierarchy

Index

Constructors

Methods

  • getParticleEmitters(): Emitter[]
  • createEmitter(config: EmitterConfigV3): Emitter
  • Create an emitter instance which automatically updates using the shared PIXI.Ticker

    Parameters

    • config: EmitterConfigV3

      The emitter configuration

    Returns Emitter

    The created Emitter instance

  • destroy(): void
  • play(): void
  • Begin animation for the configured emitters.

    Returns void

  • stop(): void
  • Stop animation for the configured emitters.

    Returns void

Properties

The parent particle container within which the effect is rendered

emitters: Emitter[]

The array of emitters which are active for this particle effect

label: string = "WEATHER.AutumnLeaves"

A human-readable label for the weather effect. This can be a localization string.

LEAF_CONFIG: EmitterConfigV3 = ...

Configuration for the particle emitter for falling leaves