Difference between revisions of "LlGetRegionSunRotation"
Jump to navigation
Jump to search
(Created page with "{{LSL_Function |func=llGetRegionSunRotation|return_type=rotation |func_desc=Return the rotation applied to the sun for the region at the location of the object containing the...") |
|||
Line 1: | Line 1: | ||
{{LSL_Function | {{LSL_Function | ||
|func=llGetRegionSunRotation|return_type=rotation | |func=llGetRegionSunRotation|return_type=rotation | ||
|func_desc=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, [[ | |func_desc=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]]. | ||
|also_functions= | |also_functions= |
Revision as of 16:29, 1 February 2019
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
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