llGetRegionSunRotation
function
Function syntax
rotation llGetRegionSunRotation();- Returns
rotation- Energy
- 10
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.
rotation result = llGetRegionSunRotation();See also
Section titled “See also”Functions
Section titled “Functions”Newer function that consolidates many environment-based settings.
llGetDayLengthllGetDayOffsetllGetMoonDirectionllGetMoonRotationllGetSunDirectionllGetSunRotationllGetRegionDayLengthllGetRegionDayOffsetllGetRegionMoonDirectionllGetRegionMoonRotationllGetRegionSunDirectionllGetRegionSunRotation
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.