ReferenceBehaviorsInterface
BehaviorInitContext
Context passed to a behavior when a particle spawns.
Passed to BehaviorObject.init once, after the particle spawns and before its first update.
Properties
Section titled “Properties”rngRngThe effect’s random number generator. Use it in place of
Math.random()to keep seeded effects reproducible.