コード例 #1
0
        /////<summary>光源集合数组,序号0-5</summary>
        //public CLight[] lights;

        //public Color AmbientLight { get; set; }

        ///<summary>提交环境光</summary>
        public void applyAmbientLight()
        {
            if (lightset == null)
            {
                return;
            }
            D3DManager.ChangeAmbientLight(earth.earthkey, Helpler.ColorToUInt(lightset.AmbientLight));
        }
コード例 #2
0
 public void setBackground(System.Windows.Media.Color color)
 {
     background = Helpler.ColorToUInt(color);
 }