/////<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)); }
public void setBackground(System.Windows.Media.Color color) { background = Helpler.ColorToUInt(color); }