コード例 #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");
        }
コード例 #2
0
 public static void AddLight(string name, HMLight light)
 {
     lights.Add(name, light);
 }