0
How to perform mouse click hit testing on ModelVisual3d models in Helixtoolkit
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
Suran,
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
<code>
private void vp_raw_MouseDown(object sender, System.Windows.Input.MouseButtonEventArgs e)
</code>
And the XAML
<code>
<Window
</code>
Sorry, no preview feature, so cant tell how this is going to look :-(
Frank
Amazing! With a little bit of tweaking here and there, it worked, practically out the box. Thanks Frank. Everybody make sure to Thank Frank.