PixiJS Particle Emitter - Texture Single

Texture Single assigns all particles from this emitter the same texture.

Parameters

Rotation Behavior Example:

Texture Single Behavior Configuration: – other configuration excluded for brevity

{
  type: 'textureSingle',
  config: {
    texture: "/images/bunny.png"
  }
}

// is equivalent to

{
  type: 'textureSingle',
  config: {
    texture: PIXI.Texture.from("/images/bunny.png")
  }
}

// a quick standin with no image is

{
  type: 'textureSingle',
  config: {
    texture: PIXI.Texture.WHITE
  }
}

PixiJS Particle Emitter: The Unauthorized Manual