} // end of MouseEditToolBox LoadContent() public void InitDeviceResources(GraphicsDevice device) { // Ensure that camera matches window dimensions. camera.Resolution = new Point((int)BokuGame.ScreenSize.X, (int)BokuGame.ScreenSize.Y); EditObjectsToolInstance.InitDeviceResources(device); EditPathsToolInstance.InitDeviceResources(device); }
} // end of MouseEditToolBox Update() public void Render() { if (active) { // Render the tool add-ons. materialPicker.Render(camera); waterPicker.Render(camera); brushPicker.Render(camera); // We need to render this since the slider input device may be active. EditObjectsToolInstance.Render(camera); EditPathsToolInstance.Render(camera); } } // end of MouseEditToolBox Render()