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]));
The old emitter config to upgrade.
The old art values as would have been passed into the Emitter constructor or Emitter.init()
Emitter.init()
Generated using TypeDoc
Converts emitter configuration from pre-5.0.0 library values into the current version.
Example usage: