llGetSunRotation

From Second Life Wiki
Revision as of 16:28, 1 February 2019 by Jeremy Linden (talk | contribs) (Created page with "{{LSL_Function |func=llGetSunRotation|return_type=rotation |func_desc=Return the rotation applied to the sun for the parcel at the location of the object containing the script...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

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, llGetSunRoation 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

Examples

Deep Notes

Search JIRA for related Issues

Signature

function rotation llGetSunRotation();