Difference between revisions of "LlGetRegionMoonDirection"
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....") |
(Add new related function.) |
||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
{{LSL_Function | {{LSL_Function | ||
|func= | |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. | ||
|also_functions= | |also_functions= | ||
{{LSL DefineRow||[[llGetEnvironment]]}} Newer function that consolidates many environment-based settings. | |||
{{LSL DefineRow||[[llGetDayLength]]}} | |||
{{LSL DefineRow||[[llGetDayOffset]]}} | |||
{{LSL DefineRow||[[llGetMoonDirection]]}} | |||
{{LSL DefineRow||[[llGetMoonRotation]]}} | |||
{{LSL DefineRow||[[llGetSunDirection]]}} | |||
{{LSL DefineRow||[[llGetSunRotation]]}} | |||
{{LSL DefineRow||[[llGetRegionDayLength]]}} | |||
{{LSL DefineRow||[[llGetRegionDayOffset]]}} | |||
{{LSL DefineRow||[[llGetRegionMoonDirection]]}} | |||
{{LSL DefineRow||[[llGetRegionMoonRotation]]}} | |||
{{LSL DefineRow||[[llGetRegionSunDirection]]}} | |||
{{LSL DefineRow||[[llGetRegionSunRotation]]}} | |||
}} | }} |
Latest revision as of 08:51, 23 August 2022
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
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
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 |