Skip to content
lsl.devlsl.devLSL Dev

LlGetRegionSunRotation

Looking for the current API? Open the llGetRegionSunRotation reference →

Wiki description

Return the rotation applied to the sun for the region at the location of the object containing the script. These functions are altitude aware and so will pick up the sun for their current track. llGetRegionSunRotation returns the rotation applied at the region level, llGetSunRotation does the same for the parcel. If there is no custom environment applied to parcel llGetSunRotation returns the same value as llGetRegionSunRotation.

See also: functions

Newer function that consolidates many environment-based settings.
Original wiki source

Some wiki templates and tables need their original context. View this article on the Second Life Wiki. Technical wording and examples are retained from the source; historical guidance may differ from current behavior.