02-12-2026, 12:47 PM
The event is working fine when fired from an object using the event sources. The object will be marked with orange color and switches back to gray when leaving.
This works well, but what i wanted to achieve was to get notifications when the cursor enters/leaves the SharpEngine view (not a object).
This works for the PointerEntered when the pointer hovers over the SharpEngine view, but not when leaving it.
I've extended the InputsManagerSample to log a message which does never fire for me:
This works well, but what i wanted to achieve was to get notifications when the cursor enters/leaves the SharpEngine view (not a object).
This works for the PointerEntered when the pointer hovers over the SharpEngine view, but not when leaving it.
I've extended the InputsManagerSample to log a message which does never fire for me:
Code:
protected override void OnInputEventsManagerInitialized(ManualInputEventsManager inputEventsManager)
{
(...)
inputEventsManager.PointerEntered += ((sender, args) => Debug.WriteLine("SceneView entered"));
inputEventsManager.PointerExited += ((sender, args) => Debug.WriteLine("SceneView exited"));
}
