Options
All
  • Public
  • Public/Protected
  • All
Menu

A Texture behavior that uses a single animation for each particle to play. See AnimatedParticleArt for detailed configuration info.

Example config:

{
type: 'animatedSingle',
config: {
anim: {
framerate: 25,
loop: true,
textures: ['frame1', 'frame2', 'frame3']
}
}
}

Hierarchy

  • SingleAnimatedTextureBehavior

Implements

Index

Constructors

Properties

order: BehaviorOrder = BehaviorOrder.Normal

Order in which the behavior will be handled. Lower numbers are handled earlier, with an order of 0 getting special treatment before the Emitter's transformation is applied.

editorConfig: BehaviorEditorConfig = null
type: string = 'animatedSingle'

Methods

  • updateParticle(particle: Particle, deltaSec: number): void

Generated using TypeDoc