Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PixiParticle

Hierarchy

Index

Constructors

constructor

  • new PixiParticle(width?: undefined | number, height?: undefined | number): PixiParticle

Properties

engineParticle

engineParticle: EngineParticle | undefined

The underlying EngineParticle.

type

{(EngineParticle | undefined)}

memberof

Particle

graphicsObject

graphicsObject: Sprite

id

id: number = getId()

The unique id of the Particle.

memberof

Particle

individualHeight

individualHeight: number = 0

individualWidth

individualWidth: number = 0

parent

parent: ParticleGroup | undefined

The parent ParticleGroup.

type

{(ParticleGroup | undefined)}

memberof

Particle

Static texture

texture: Texture

Accessors

height

  • get height(): number

width

  • get width(): number

Methods

draw

  • draw(): void
  • Draws the Particle and subsequently calls drawCore passing in the coordinates.

    memberof

    Particle

    Returns void

drawCore

  • drawCore(x1: number, y1: number, x2: number, y2: number): void

remove

  • remove(): void

revive

  • revive(): void

Generated using TypeDoc