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