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