Skip to main content

MassiveLoop > Data > MLWeatherData

MLCelestialData Component

MLCelestialData provides local machine independent UTC time, the topocentric positions of the sun and moon based on provided coordinates. If a directional light source provided, it will automatically rotates it on each frame based on sun's calculated position.

Requires

  • None

Parameters

NameDescription
LongitudeThe longitude of location.
LatitudeThe latitude of the location
Compass CorrectionSpecify the direction of north pole in your world. By default, the positive z-axis considered as north pole.
Use Coordinates for Time ZoneUse coordinates to estimated local time zone. the estimates value will not be correct based on time zone boundries.
Time ZoneSelect the Time Zone for current location
Sun LightThe directional sun to be moved (as sun)
Move Directional LightMove selected directional light. For testing purposes. No effect in runtime.
Time OffsetOffset current time +/- 12 hours. For testing purposes. No effect in runtime.

API

MLCelestialData