Options
All
  • Public
  • Public/Protected
  • All
Menu

An Alpha behavior that applies an interpolated or stepped list of values to the particle's opacity.

Example config:

{
type: 'alpha',
config: {
alpha: {
list: [{value: 0, time: 0}, {value: 1, time: 0.25}, {value: 0, time: 1}]
},
}
}

Hierarchy

  • AlphaBehavior

Implements

Index

Constructors

Properties

list: PropertyList<number>
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 = 'alpha'

Methods

  • updateParticle(particle: Particle): void

Generated using TypeDoc