API Docs for: 2.2.1
Show:

AnimatedParticle Class

An individual particle image with an animation. While this class may be functional, it has not gotten thorough testing or examples yet, and is not considered to be release ready.

Constructor

AnimatedParticle

(
  • emitter
)

Parameters:

  • emitter Emitter

    The emitter that controls this AnimatedParticle.

Item Index

Methods

applyArt

(
  • art
)

Sets the textures for the particle.

Parameters:

  • art Array

    An array of pixi.textures.Texture objects for this animated particle.

destroy

()

Destroys the particle, removing references and preventing future use.

init

()

Initializes the particle for use, based on the properties that have to have been set already on the particle.

update

(
  • delta
)

Updates the particle.

Parameters:

  • delta Float

    Time elapsed since the previous frame, in seconds.