From Second Life Wiki
Revision as of 16:21, 1 February 2019 by Jeremy Linden (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


Function: vector llGetSunDirection( );

Returns a normalized vector to the current sun position at the location of object containing the script. llGetSunDirection is the vector to the parcel's sun, llGetRegionSunDirection is the vector to region's sun. If there is no custom environment set for the current parcel llGetSunDirection returns the direction to the region's sun. These functions are altitude aware.
Returns a vector


Deep Notes

Search JIRA for related Issues


function vector llGetSunDirection();