Touch events

Dec 6, 2012 at 1:25 PM

Thanks for a fantastic framework. It's changed my approach to 3D on WPF. I'm not clear on how to handled touch events. Do we need to wire them up ourselves? I see manipulation events firing if I add them to the user control containing a HelixViewport3D. Mouse manipulations work 100%.

Currently, I'm doing: 

 
 <h:HelixViewport3D RotationSensitivity="0.3" InfiniteSpin="True" x:Name="HelixViewport3D" Height="1100" IsManipulationEnabled="True" ManipulationStarted="GlobeManipulationStarted"...


protected void GlobeManipulationStarted(object sender, ManipulationStartedEventArgs e)
        {
            base.OnManipulationStarted(e);
//handle manipulations
            e.Handled = true;
        }...

Is this the correct approach?

Mar 27, 2013 at 4:42 PM
Hi there.

Use this code for multi-touch manipulation of the scene to work:
viewPortName.CameraController.TouchMode = TouchMode.Rotating;
Amun