protected override void LoadContent() { DefaultCamera = new HMCamera(GraphicsDevice.Viewport); AddCamera("HMEngine.HMCameras.DefaultCamera", DefaultCamera); SetActiveCamera("HMEngine.HMCameras.DefaultCamera"); base.LoadContent(); }
public static void AddCamera(string name, HMCamera camera) { HMComponentManager.AddComponent(name, camera); }