Mouse |
If EventsSourceElement property is not set manually, it is set to the Viewport3D with the TargetCameraName.
EventsSourceElementRotationChange controls the speed of rotation. Bigger values mean that smaller mouse moves will rotate the camera more.
Note that if EventsSourceElement property is set to Viewport3D (manually or automatically) the mouse events occur only on the area of Viewport3D that actually shows a content. So mouse events do not happen on the empty area of the Viewport3D. To enable mouse events on the whole area of Viewport3D, set its Background to any Brush - for example White or Transparent. This also applies to any other EventsSourceElement (Grid, Canvas, UserControl) except Window.