Difference between revisions of "LlList2Rot"
Jump to navigation
Jump to search
Line 2: | Line 2: | ||
|func_id=191|func_sleep=0.0|func_energy=10.0 | |func_id=191|func_sleep=0.0|func_energy=10.0 | ||
|func=llList2Rot|return_type=rotation|p1_type=list|p1_name=src|p2_type=integer|p2_name=index | |func=llList2Rot|return_type=rotation|p1_type=list|p1_name=src|p2_type=integer|p2_name=index | ||
|func_footnote=If the entry at '''index''' in '''src''' is not a rotation {{LSLG|ZERO_ROTATION|<0.0, 0.0, 0.0, 1.0>}} is returned.<br/> In this case use: ({{LSLG|rotation}}){{LSLG|llList2String}}(src, index); | |func_footnote=If the entry at '''index''' in '''src''' is not a rotation {{LSLG|ZERO_ROTATION|<0.0, 0.0, 0.0, 1.0>}} is returned (or if '''index''' is out of range).<br/> In this case use: ({{LSLG|rotation}}){{LSLG|llList2String}}(src, index); | ||
|func_desc | |func_desc | ||
|return_text=that is at '''index''' in '''src'''. | |return_text=that is at '''index''' in '''src'''. |
Revision as of 14:50, 10 February 2007
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
Summary
Function: rotation llList2Rot( list src, integer index );191 | Function ID |
0.0 | Forced Delay |
10.0 | Energy |
Returns a rotation that is at index in src.
• list | src | |||
• integer | index |
If the entry at index in src is not a rotation <0.0, 0.0, 0.0, 1.0> is returned (or if index is out of range).
In this case use: (rotation)llList2String(src, index);