DataType/Vector3 representing the direction of the sun from the position 0, 0, 0.
Note, when the sun has set and is no longer visible, the
DataType/Vector3 returned by this function will continue to point towards the sun below the map.
Developers looking to change the positioning of the sun should use the
A variant of this function exists for obtaining the direction of the moon,
This example shows how this function can be used:
game.Lighting.TimeOfDay = "14:00:00" game.Lighting.GeographicLatitude = 41.73 print(game.Lighting:GetSunDirection())