Hi,
In my 3d editor application, I want to be able to click on and move
a scene's entities (meshes, lights, cameras, etc). To do that, I
imagine that I need to get the current mouse position relative to my
Direct3d view and somehow give it to my ViewModel. How would I go about
doing that, considering that my app is built with the MVVM pattern?
Additional Info: The Direct3d renderer is from a C++ DLL and we're
using an HwndHost to place it inside our WPF app. It has a WndProc
which I imagine I could use to handle mouse messages there but I'd
rather avoid it if at all possible.
Thanks!