Controller responsible for managing hover detection and timing logic.

This class encapsulates:

  • Hover delay handling (mouse must stay still for a short time)
  • Pause delay handling (hover event is fired after a pause)
  • Tracking of the currently hovered entity
  • Dispatching hover/unhover events

It intentionally does not know anything about rendering, input devices, or UI frameworks. All such responsibilities are delegated to AcEdHoverHost.

Constructors

Methods

  • Handles mouse movement events.

    This method should be called whenever the mouse moves in the view. It restarts the hover detection timer, ensuring hover logic is only evaluated after the mouse stops moving for a short period.

    Parameters

    • x: number

      Mouse X coordinate in world space

    • y: number

      Mouse Y coordinate in world space

    Returns void