ReferenceBehaviorsType
Behavior
Changes a particle over its lifetime.
type Behavior = BehaviorUpdate | BehaviorObject;Modifies a particle over its lifetime, for example gravity, drag or fading.
Either a plain update function, called for every particle on every step, or a BehaviorObject when the behavior also needs to perform setup for each new particle. Behaviors run in the order they are listed in.