Ejemplo n.º 1
0
 private void ViewportMouseMoveHandler(object sender, MouseEventArgs args)
 {
     if (!AllowMouseInteraction)
     {
         return;
     }
     ClickRay = Viewport.GetClickRay(args);
     if (args.LeftButton == MouseButtonState.Released)
     {
         HandleNodeIndex = -1;
     }
     NearestNodeIndex = FindNearestNodeIndex(ClickRay);
 }