private void Initialize() { Longitude = new AtmosphereFloat(AtmosphereFloat.FloatName.Longitude); Latitude = new AtmosphereFloat(AtmosphereFloat.FloatName.Latitude); SunSize = new AtmosphereFloat(AtmosphereFloat.FloatName.SunSize); SunAnisotropy = new AtmosphereFloat(AtmosphereFloat.FloatName.SunAnisotropy); Rayleigh = new AtmosphereFloat(AtmosphereFloat.FloatName.Rayleigh); Mie = new AtmosphereFloat(AtmosphereFloat.FloatName.Mie); Exposure = new AtmosphereFloat(AtmosphereFloat.FloatName.Exposure); StarsIntensity = new AtmosphereFloat(AtmosphereFloat.FloatName.StarsIntensity); OuterSpaceIntensity = new AtmosphereFloat(AtmosphereFloat.FloatName.OuterSpaceIntensity); MoonSize = new AtmosphereFloat(AtmosphereFloat.FloatName.MoonSize); MoonTexture = new MoonTexture(); MoonInnerCorona = new AtmosphereColor(AtmosphereColor.ColorName.MoonInnerCorona); MoonOuterCorona = new AtmosphereColor(AtmosphereColor.ColorName.MoonOuterCorona); SkyTint = new AtmosphereColor(AtmosphereColor.ColorName.SkyTint); NightHorizonColor = new AtmosphereColor(AtmosphereColor.ColorName.NightHorizonColor); EarlyNightZenithColor = new AtmosphereColor(AtmosphereColor.ColorName.EarlyNightZenithColor); LateNightZenithColor = new AtmosphereColor(AtmosphereColor.ColorName.LateNightZenithColor); }
private void SetMoon(string themeID) { MoonTexture = new MoonTexture(themeID); }