Click or drag to resize

WeatherMakerDayNightCycleProfileScriptCalculateSunPosition Method

Calculate the position of the sun

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

Parameters

sunInfo
Type: DigitalRuby.WeatherMakerWeatherMakerDayNightCycleProfileScriptSunInfo
Calculates and receives sun info, including position, etc. Parameters marked as calculation parameters need to be set first.
rotateYDegrees
Type: SystemSingle
Rotate around the Y axis
See Also