How to perform mouse click hit testing on ModelVisual3d models in Helixtoolkit
Suran Mahawithana 7 years ago • updated by Joe Soap 3 years ago • 2
I am developing an application using Helix toolkit in which users are given control to click on the individual 3d models that have loaded and manipulate them independantly. 3d model loader in my application can load ModelVisual3D type models. the tutorials so far I could find were on performing hit testing on Model3D type models which didn't work with ModelVisual3D type whatsoever. Can anybody help ?
Customer support service by UserEcho
Not sure if this helps exactly, but I recently did this with a WPF project consisting of a window, a grid, and a HelixViewport3D object. Here's the XAML and the MouseDown event code
private void vp_raw_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
And the XAML
Sorry, no preview feature, so cant tell how this is going to look :-(
Amazing! With a little bit of tweaking here and there, it worked, practically out the box. Thanks Frank. Everybody make sure to Thank Frank.