Difference between revisions of "LlGetRegionMoonDirection"

From Second Life Wiki
Jump to navigation Jump to search
(Created page with "{{LSL_Function |func=llGetMoonDirection|return_type=vector |func_desc=Returns a normalized vector to the current moon position at the location of object containing the script....")
 
Line 1: Line 1:
{{LSL_Function
{{LSL_Function
|func=llGetMoonDirection|return_type=vector
|func=llGetRegionMoonDirection|return_type=vector
|func_desc=Returns a normalized vector to the current moon position at the location of object containing the script.  [[llGetMoonDirection]] is the vector to the parcel's moon, [[llGetRegionMoonDirection]] is the vector to region's moon. If there is no custom environment set for the current parcel [[llGetMoonDirection]] returns the direction to the region's moon. These functions are altitude aware.
|func_desc=Returns a normalized vector to the current moon position at the location of object containing the script.  [[llGetMoonDirection]] is the vector to the parcel's moon, [[llGetRegionMoonDirection]] is the vector to region's moon. If there is no custom environment set for the current parcel [[llGetMoonDirection]] returns the direction to the region's moon. These functions are altitude aware.



Revision as of 16:24, 1 February 2019

Summary

Function: vector llGetRegionMoonDirection( );

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

Examples

Deep Notes

Search JIRA for related Issues

Signature

function vector llGetRegionMoonDirection();