Click or drag to resize

WeatherMakerDayNightCycleProfileScriptCalculateMoonPosition Method

Calculate moon position

Namespace:  DigitalRuby.WeatherMaker
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
public static void CalculateMoonPosition(
	WeatherMakerDayNightCycleProfileScriptSunInfo sunInfo,
	WeatherMakerDayNightCycleProfileScriptMoonInfo moonInfo,
	float rotateYDegrees
)

Parameters

sunInfo
Type: DigitalRuby.WeatherMakerWeatherMakerDayNightCycleProfileScriptSunInfo
Sun info, already calculated
moonInfo
Type: DigitalRuby.WeatherMakerWeatherMakerDayNightCycleProfileScriptMoonInfo
Receives moon info
rotateYDegrees
Type: SystemSingle
Rotate the moon in the sky around the y axis by this degrees
See Also