public HMLightManager(Game game) : base(game) { DefaultLight = new HMLight(new Vector3(0, 1000, 1000), Vector3.Zero, Color.White); AddLight("HMEngine.HMLights.Sun", DefaultLight); SetActiveLight("HMEngine.HMLights.Sun"); }
public static void AddLight(string name, HMLight light) { lights.Add(name, light); }