Creates a new hover controller.
View host providing spatial picking and visual feedback hooks
Event manager used to dispatch hover events
Event manager used to dispatch unhover events
Delay (ms) before hover detection starts after mouse move
Delay (ms) before firing hover event after hover is detected
Clears any active hover state.
This immediately unhovers the current entity (if any) and cancels pending pause timers.
Typically called when:
Disposes the controller and releases all timers.
This should be called when the owning view is destroyed to avoid dangling timers and memory leaks.
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.
Mouse X coordinate in world space
Mouse Y coordinate in world space
Controller responsible for managing hover detection and timing logic.
This class encapsulates:
It intentionally does not know anything about rendering, input devices, or UI frameworks. All such responsibilities are delegated to
AcEdHoverHost.