OptionalalphaOptionalanchorAn optional anchor used to attach areas and behaviors.
OptionalanchorA fixed offset (scene pixels) applied to the anchor.
OptionalanchorWhich point to use when anchoring.
OptionalareaThe default spawn area in "effect" mode (scene coordinates).
OptionalbehaviorOptional behavior.
OptionalblendThe blend mode used to render particles.
OptionalblurAn optional blur filter applied to the internal container.
OptionalboundsOptional generator bounds in scene coordinates. This is used for coordinate conversion, viewport clamping, and optional clipping. Defaults to the current Scene dimensions.
OptionalclipClip (=> mask) configuration. Use true for default clipping (bounds) or pass a rectangle.
OptionalconstraintThe constraint area.
OptionalconstraintHow to handle particles leaving the constraint area. If null, defaults to "kill" in ambient mode and "none" in effect mode.
OptionalcontainerThe parent container which receives the internal particle container. Defaults to canvas.primary.
OptionalcountThe target particle count.
OptionaldebugOptional debugging helpers.
OptionaldriftOptional random drift configuration.
OptionalelevationThe elevation for the particle container.
OptionalfadeFade envelope configuration.
OptionalfollowFollow behavior options.
OptionalinitialThe initial proportion (0..1) of the computed target particle count to spawn on start.
OptionallifetimeThe particle lifetime in milliseconds.
OptionalmanualIf true, particles are never spawned automatically. If null, defaults to true in "effect" mode and false in "ambient" mode.
OptionalmodeThe runtime mode.
OptionalnewlyIf true, prioritize spawning particles in newly-visible areas when the view changes (pan/zoom).
OptionalonAn optional callback called when a particle is recycled. The function receives (particle, {generator, reason}).
OptionalonAn optional callback called after the particle has been placed and configured. The function receives (particle, {generator}).
OptionalonAn optional callback called per frame (not per particle!) The function receives (dt, generator).
OptionalorbitOrbit behavior options.
OptionalperThe maximum number of particles that may be spawned per frame (auto-spawn mode).
OptionalpositionAn optional spawn validator. The function is invoked as (x, y, {generator, particle}) and must return true if the location is valid. Coordinates are scene coordinates in pixels. The generator evaluates a single candidate position per spawn attempt.
OptionalprobabilityThe chance (0..1) that a spawn attempt actually creates a particle.
OptionalrandomizeIf true, particles spawned in padded regions can start partially through their lifetime.
OptionalrestitutionBounce restitution factor (0..1) used when constraintMode is "bounce".
OptionalrotationThe rotation speed in degrees per second.
OptionalscaleThe scale range for particles.
OptionalsortThe sorting key for the particle container.
OptionaltexturesThe particle texture sources. Each entry may be a PIXI.Texture or a string path usable by foundry.canvas.getTexture/PIXI.Texture.from.
OptionaltickerThe ticker used to drive the update loop. Defaults to CanvasAnimation.ticker.
OptionalvelocityThe particle velocity in pixels per second.
OptionalviewA proportion (0..1+) of extra area around the visible region used for spawning. For example, 0.2 extends the spawn region by 20% in each dimension.
The maximum alpha range for particles.