From Second Life Wiki
Jump to navigation Jump to search


Function: rotation llGetRegionSunRotation( );

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.
Returns a rotation


Deep Notes

Search JIRA for related Issues


function rotation llGetRegionSunRotation();