Skip to 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⚓︎

Name Description
Longitude The longitude of location.
Latitude The latitude of the location
Compass Correction Specify the direction of north pole in your world. By default, the positive z-axis considered as north pole.
Use Coordinates for Time Zone Use coordinates to estimated local time zone. the estimates value will not be correct based on time zone boundries.
Time Zone Select the Time Zone for current location
Sun Light The directional sun to be moved (as sun)
Move Directional Light Move selected directional light. For testing purposes. No effect in runtime.
Time Offset Offset current time +/- 12 hours. For testing purposes. No effect in runtime.

API⚓︎

MLCelestialData