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
)
Public Shared Sub CalculateMoonPosition (
sunInfo As WeatherMakerDayNightCycleProfileScriptSunInfo,
moonInfo As WeatherMakerDayNightCycleProfileScriptMoonInfo,
rotateYDegrees As Single
)
public:
static void CalculateMoonPosition(
WeatherMakerDayNightCycleProfileScriptSunInfo^ sunInfo,
WeatherMakerDayNightCycleProfileScriptMoonInfo^ moonInfo,
float rotateYDegrees
)
static member CalculateMoonPosition :
sunInfo : WeatherMakerDayNightCycleProfileScriptSunInfo *
moonInfo : WeatherMakerDayNightCycleProfileScriptMoonInfo *
rotateYDegrees : float32 -> unit
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