Hierarchy

  • InteractionManager

Constructors

Properties

#engine: Engine

The engine used for registering the interactions managers

#interactors: IInteractor[]

The interactors that are used for initialization

externalInteractors: IExternalInteractor[]

Registered external interactivity managers

particleInteractors: IParticlesInteractor[]

Registered particles interactions managers

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 Promise<void>

  • Parameters

    • mode: string

    Returns void

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

    Returns 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 Promise<void>

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

    Parameters

    • particle: Particle

      the particle to reset

    Returns Promise<void>