Constructs an Alpha behaviour instance.
The starting alpha value
The ending alpha value
Optionallife: number
The life of the behaviour
Optionaleasing: EasingFunction
The easing equation to use for transforms
Determines if the behaviour will be applied or not
Gets the behaviour's life.
Ensures that life is infinity if an invalid value is supplied.
Gets the _same property which determines if the alpha are the same.
Sets the _same property which determines if the alpha are the same.
AbstractdestroyDestroy this behaviour.
Compares the age of the behaviour vs integration time and determines if the behaviour should be set to dead or not.
Optionalindex: numberAbstractfromReturns a new instance of the behaviour from the JSON object passed.
Initializes the behaviour on a particle.
the particle to initialize the behaviour on
Mutates the target's alpha/opacity property.
the particle to apply the behaviour to
engine time
Optionalindex: number
the particle index
Normalize a value by 1:100.
Resets the behaviour properties.
the starting alpha value
the ending alpha value
Optionallife: number
the life of the behaviour
Optionaleasing: EasingFunction
the easing equation to use for transforms
StaticfromCreates a Body initializer from JSON.
The JSON to construct the instance from.
Behaviour that applies an alpha transition effect to particles.