Hierarchy

  • Plugins

Constructors

Properties

_engine: Engine

The engine used for registering plugins

drawers: Map<string, IShapeDrawer>

The drawers (additional shapes) array

interactors: Map<Container, IInteractor[]>

The interaction managers array

interactorsInitializers: Map<string, InteractorInitializer>

The interaction manager initializers array

movers: Map<Container, IParticleMover[]>
moversInitializers: Map<string, MoverInitializer>
pathGenerators: Map<string, IMovePathGenerator>

The path generators array

plugins: IPlugin[]

The plugins array

presets: Map<string, RecursivePartial<IOptions>>

The presets array

updaters: Map<Container, IParticleUpdater[]>

The updaters array

updatersInitializers: Map<string, UpdaterInitializer>

The updater initializers array

Methods

  • Returns all the container interaction managers

    Returns

    the array of interaction managers for the given container

    Parameters

    • container: Container

      the container used to check which interaction managers are compatible

    • force: boolean = false

      if true reloads the interaction managers collection for the given container

    Returns IInteractor[]

  • Searches if the specified plugin exists and returns it

    Returns

    the plugin if found, or undefined

    Parameters

    • plugin: string

      the plugin name

    Returns undefined | IPlugin