示例#1
0
 public SpaceMouse(CameraInteraction cameraInteraction, RenderViewConfiguration renderConfig)
 {
     App.Current.MainWindow.SpaceMouseHandlerWpf.Active3DxMouse.MotionEvent += SpaceMouseMotionHandler;
     App.Current.MainWindow.SpaceMouseHandlerWpf.Active3DxMouse.ButtonEvent += SpaceMouseButtonHandler;
     _cameraInteraction = cameraInteraction;
     _renderConfig      = renderConfig;
 }
示例#2
0
 public SpaceMouse(CameraInteraction cameraInteraction, D3DRenderSetup renderSetup)
 {
     App.Current.MainWindow.SpaceMouseHandlerWpf.Active3DxMouse.MotionEvent += SpaceMouseMotionHandler;
     App.Current.MainWindow.SpaceMouseHandlerWpf.Active3DxMouse.ButtonEvent += SpaceMouseButtonHandler;
     _cameraInteraction = cameraInteraction;
     _renderSetup       = renderSetup;
 }