Foundry Virtual Tabletop - API Documentation - Version 14
    Preparing search index...

    An interface for defining particle-based weather effects

    FullCanvasObjectMixin

    Hierarchy (View Summary)

    Index

    Constructors

    • Parameters

      • Optionaloptions: object = {}

        Options passed to the getParticleEmitters method which can be used to customize values of the emitter configuration.

      Returns ParticleEffect

    Properties

    emitters: Emitter[]

    The array of emitters which are active for this particle effect

    Methods

    • Returns void

    • Create an emitter instance which automatically updates using the shared PIXI.Ticker

      Parameters

      • config: EmitterConfigV3

        The emitter configuration

      Returns Emitter

      The created Emitter instance

    • Parameters

      • ...args: any[]

      Returns void

    • Get the particle emitters which should be active for this particle effect. This base class creates a single emitter using the explicitly provided configuration. Subclasses can override this method for more advanced configurations.

      Parameters

      • Optionaloptions: object = {}

        Options provided to the ParticleEffect constructor which can be used to customize configuration values for created emitters.

      Returns Emitter[]

    • Begin animation for the configured emitters.

      Returns void

    • Stop animation for the configured emitters.

      Returns void