public SceneViewController(MDILayoutManager mdiLayout, EventManager eventManager, UpdateTimer mainTimer, RendererWindow rendererWindow, OgreRenderManager renderManager, BackgroundScene background) { this.DefaultBackgroundColor = new Color(0.149f, 0.149f, 0.149f); this.background = background; this.mainTimer = mainTimer; this.rendererWindow = rendererWindow; this.mdiLayout = mdiLayout; cameraInputController = new CameraInputController(this, eventManager); rm = renderManager; mdiLayout.ActiveWindowChanged += new EventHandler(mdiLayout_ActiveWindowChanged); eventManager.setUnprojectFunction(unproject); }
public SceneViewController(MDILayoutManager mdiLayout, EventManager eventManager, UpdateTimer mainTimer, RendererWindow rendererWindow, OgreRenderManager renderManager) : this(mdiLayout, eventManager, mainTimer, rendererWindow, renderManager, null) { }