Constructors

Properties

_engine: Engine

The engine used for registering the interactions managers

_externalInteractors: IExternalInteractor<Particle>[]

Registered external interactivity managers

_interactors: IInteractor<Particle>[]

The interactors that are used for initialization

_particleInteractors: IParticlesInteractor<Particle>[]

Registered particles interactions managers

container: Container

the parent container

Methods

  • Iterates through the external interactivity manager and call the interact method, if they are enabled

    Parameters

    • delta: IDelta

      this variable contains the delta between the current frame and the previous frame

    Returns void

  • Initializes the interaction manager, loading all the engine registered managers into the container

    Returns Promise<void>

  • Iterates through the particles interactions manager and call the interact method, if they are enabled

    Parameters

    • particle: Particle

      the particle responsible for the current interaction

    • delta: IDelta

      this variable contains the delta between the current frame and the previous frame

    Returns void

  • Iterates through the external interactivity manager and call the interact method, if they are enabled

    Parameters

    • particle: Particle

      the particle to reset

    Returns void