llGetSunRotation
Jump to navigation
Jump to search
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: rotation llGetSunRotation( );
Return the rotation applied to the sun for the parcel at the location of the object containing the script. These function 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
Caveats
Examples
See Also
Functions
• | llGetEnvironment | Newer function that consolidates many environment-based settings. | ||
• | llGetDayLength | |||
• | llGetDayOffset | |||
• | llGetMoonDirection | |||
• | llGetMoonRotation | |||
• | llGetSunDirection | |||
• | llGetSunRotation | |||
• | llGetRegionDayLength | |||
• | llGetRegionDayOffset | |||
• | llGetRegionMoonDirection | |||
• | llGetRegionMoonRotation | |||
• | llGetRegionSunDirection | |||
• | llGetRegionSunRotation |