Options
All
  • Public
  • Public/Protected
  • All
Menu

@pixi/particle-emitter

Index

Functions

  • Converts emitter configuration from pre-5.0.0 library values into the current version.

    Example usage:

    const emitter = new Emitter(myContainer, upgradeConfig(myOldConfig, [myTexture, myOtherTexture]));
    

    Parameters

    • config: EmitterConfigV2 | EmitterConfigV1

      The old emitter config to upgrade.

    • art: any

      The old art values as would have been passed into the Emitter constructor or Emitter.init()

    Returns EmitterConfigV3

Generated using TypeDoc