Exemplo n.º 1
0
        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");
        }
Exemplo n.º 2
0
 public static void AddLight(string name, HMLight light)
 {
     lights.Add(name, light);
 }