Esempio n. 1
0
 private void viewport_MouseMove(object sender, MouseEventArgs e)
 {
     if (e.LeftButton == MouseButtonState.Pressed)
     {
         ModelGrid.Sculpt(e.GetPosition(viewport), viewport.ActualWidth, viewport.ActualHeight);
     }
 }
Esempio n. 2
0
 private void viewport_MouseDown(object sender, MouseButtonEventArgs e)
 {
     ModelGrid.BeginSculpturing();
     ModelGrid.Sculpt(e.GetPosition(viewport), viewport.ActualWidth, viewport.ActualHeight);
 }