“脚本手册”的版本间的差异

来自人工智能助力教育知识百科
跳转至: 导航搜索
 
(未显示3个用户的7个中间版本)
第1行: 第1行:
[[test]]
+
{{TOCright}}
{{LSL Header|ml=*}}
+
{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}
__NOTOC__
 
LSL (Linden Scripting Language) is the scripting language that gives behavior to Second Life primitives, objects, and avatars. This is a community effort to provide an accurate & open documentation resource on LSL for scripters of all skill levels.
 
  
Feel free to edit and add content. For more information on how to edit the wiki, see [[Project:Editing Guidelines|Editing Guidelines]]. Do not copy any information from other sources, unless you are sure about the copyright agreements.  See the [[Talk:LSL Portal|LSL Portal discussion]] page for more information.
+
这个类别为内置的LSL函数。
  
'''Want to learn LSL? See [[LSL Tutorial]].'''
+
== 函数参数变化 ==
 +
LSL中的所有类型都是不会改变参数的值的,变量只能通过赋值来改变。要想改变变量的值唯一的方法是直接与存储操作符交互(=,+=,-=,*=,/=,%=,++,--)。
 +
*内置函数永远'''不会'''修改用作参数的变量。
 +
*在函数作用域中更改参数值的用户自定义函数不会修改这些参数对应的变量的值(按值传参)。
 +
{{Footnote|Function parameters are effectively passed by value, not by reference. When pass by reference is used in LSO-LSL, the reference points to a copy of the value, not to the original.}}
  
<div id="box">
+
== 函数==
{| width="100%" rules="all" style="border-width: 0px; border-spacing: 5px;"
+
{{LSL All Functions|name|key=*}}
|- valign="top" rules="all" style="border-width: 1px 1px 1px 1px; padding: 1px 1px 1px 1px; border-style: solid solid solid solid; border-color: gray;"
 
| height="1" width="30%"|
 
  
== LSL Portal ==
+
==注脚==
<div style="padding: 0.5em;">
+
{{Footnotes}}{{Anchor|PiC}}
* [[LSL Editing Primer|Editing Primer]] - Editing Instructions
 
* [[LSL Portal Guidelines|Guidelines]] - Administration and Design Standards (Mission, rules, layout, etc.)
 
* [[LSL Portal To-do|To-Do]] - Edit/Revisions To-Do Listing
 
* [[LSL Portal Translation Project|Translation Project]] - Translation Coordination
 
</div>
 
|height="1" width="30%" rowspan="2"|
 
  
== LSL Language Reference ==
+
==子类别==
<div style="padding: 0.5em;">
+
此类别有以下16个子类别,共有16个子类别。
* [[:Category:LSL Constants|Constants]]
 
* [[:Category:LSL Events|Events]]
 
* {{LSLGC|Flow Control}}
 
** [[for]]
 
** [[if]]
 
** [[while]]
 
** [[do-while]]
 
** [[jump]]
 
** [[return]]
 
** [[state]]
 
* [[:Category:LSL Functions|Functions]]
 
**<span class="plainlinks">[{{fullurl:Category:LSL_Functions}}#mw-pages (A..L)]</span>
 
**<span class="plainlinks">[{{fullurl:Category:LSL_Functions|from=L}}#mw-pages (L..T)]</span>
 
**<span class="plainlinks">[{{fullurl:Category:LSL_Functions|from=T}}#mw-pages (T..Z)]</span>
 
**[[LSL_Function_ID|(By internal index id)]]
 
* [[LSL Operators|Operators]]
 
* [[state|States]]
 
* [[:Category:LSL Types|Types]]
 
** [[integer]]
 
** [[float]]
 
** [[string]]
 
** [[key]]
 
** [[list]]
 
** [[vector]]
 
** [[rotation]]
 
* [[LSL Variables|Variables]]
 
* [[LSL Errors|Errors]]
 
</div>
 
|height="1" width="25%" rowspan="5"|
 
  
== {{LSLGC||LSL Features by category}} ==
+
==LSL函数类别中的页面==
<div style="padding: 0.5em;">
+
此类别中以下200页,总共464页。
{| border="0" cellspacing="0" cellpadding="0"
+
(上一个200)([[下一个200]]
|-valign="top"
 
|width="50%"|
 
* [[:Category:LSL Alpha|Alpha]]
 
* [[:Category:LSL Animation|Animation]]
 
* [[:Category:LSL Attachment|Attachments]]
 
* [[:Category:LSL Avatar|Avatar]]
 
* [[:Category:LSL Camera|Camera]]
 
* [[:Category:LSL Collision|Collision]]
 
* [[:Category:LSL Color|Color]]
 
* [[:Category:LSL Communications|Communications]]
 
* [[:Category:LSL Controls|Controls]]
 
* [[:Category:LSL Dataserver|Dataserver]]
 
* [[:Category:LSL Dialog|Dialog]]
 
* [[:Category:LSL Face|Face]]
 
* [[:Category:LSL Group|Group]]
 
* [[:Category:LSL Inventory|Inventory]]
 
* [[:Category:LSL Light|Light]]
 
* [[:Category:LSL Link|Link]]
 
* [[:Category:LSL_List|Lists]]
 
* [[:Category:LSL Math|Math]]
 
* [[:Category:LSL Needs Example|Needs Example]]
 
* [[:Category:LSL Permissions|Permissions]]
 
* [[:Category:LSL Physics|Physics]]
 
* [[:Category:LSL Prim|Primitive]]
 
* [[:Category:LSL Rotation|Rotation]]
 
* [[:Category:LSL_Script|Scripts]]
 
* [[:Category:LSL Sensor|Sensor]]
 
* [[:Category:LSL Sound|Sound]]
 
* {{LSLGC|Text}}
 
** {{LSLGC|Chat}}
 
** {{LSLGC|Notecard}}
 
** {{LSLGC|String}}
 
* [[:Category:LSL Teleport|Teleport]]
 
* [[:Category:LSL Texture|Texture]]
 
* [[:Category:LSL Time|Time]]
 
* [[:Category:LSL Vehicle|Vehicle]]
 
* [[:Category:LSL Video|Video]]
 
* [[:Category:LSL World|World]]
 
|width="50%"|
 
* {{LSLGC|Avatar}}
 
** {{LSLGC|Animation}}
 
** {{LSLGC|Attachment}}
 
** {{LSLGC|Camera}}
 
** {{LSLGC|Controls}}
 
** {{LSLGC|Sit}}
 
* {{LSLGC|Communications}}
 
** {{LSLGC|Chat}}
 
** {{LSLGC|Dialog}}
 
** {{LSLGC|HTTP}}
 
** {{LSLGC|XML-RPC}}
 
* [[:Category:LSL Detected|Detection]]
 
** {{LSLGC|Collision}}
 
** {{LSLGC|Sensor}}
 
** {{LSLGC|Touch}}
 
* {{LSLGC|Functions}}
 
** {{LSLGC|God Mode}}
 
* {{LSLGC|Inventory}}
 
** {{LSLGC|Creator}}
 
** {{LSLGC|Notecard}}
 
** {{LSLGC|Owner}}
 
* {{LSLGC|Media}}
 
** {{LSLGC|Prim Media}}
 
** {{LSLGC|Sound}}
 
** {{LSLGC|Video}}
 
* {{LSLGC|Movement}}
 
** {{LSLGC|Physics}}
 
*** {{LSLGC|Damping}}
 
*** {{LSLGC|Hover}}
 
** {{LSLGC|Rotation}}
 
* {{LSLGC|Object}}
 
** {{LSLGC|Link}}
 
** {{LSLGC|Vehicle}}
 
* {{LSLGC|Permissions}}
 
** [[:Category:LSL Permissions/Asset|Asset]]
 
** [[:Category:LSL Permissions/Script|Script]]
 
* {{LSLGC|Prim|Primitive}}
 
** {{LSLGC|Effects}}
 
*** {{LSLGC|Light}}
 
*** {{LSLGC|Particles}}
 
** {{LSLGC|Face}}
 
*** {{LSLGC|Alpha}}
 
*** {{LSLGC|Color}}
 
*** {{LSLGC|Texture}}
 
* {{LSLGC|Region}}
 
** {{LSLGC|Ground}}
 
** {{LSLGC|Parcel}}
 
** {{LSLGC|Security}}
 
** {{LSLGC|Time}}
 
* {{LSLGC|Script}}
 
** {{LSLGC|Error}}
 
*** [[:Category:LSL Error/Math|Math Errors]]
 
** {{LSLGC|Keywords}}
 
** {{LSLGC|Math}}
 
** {{LSLGC|Types}}
 
|}
 
</div>
 
|-valign="top" rules="all" style="border-width: 1px 1px 1px 1px; padding: 1px 1px 1px 1px; border-style: solid solid solid solid; border-color: gray;"
 
|height="1"|
 
 
 
== Developer Resources ==
 
<div style="padding: 0.5em;">
 
 
 
* [[:Category:LSL_User-Defined_Functions|User-Defined Functions]]
 
* [[LSL Protocol|User-Defined  Protocols & APIs]]
 
----
 
* [[:Category:LSL Mentors|Mentors]]
 
* [[:Category:LSL Teachers|Teachers]]
 
* [[LSL_Help|Help]]
 
----
 
* [[LSL Write Once Debug Everywhere|Write Once Debug Everywhere]]
 
* [[LSL_Alternate_Editors|Alternate Editors]]
 
----
 
* [[LSL Tutorial|Tutorials]]
 
* [[:Category:LSL Examples|Examples]]
 
* [[LSL Style Guide|Style Guide]]
 
* [[LSL Script Efficiency|Efficiency]]
 
* [[LSL Script Memory|Memory]]
 
* [[LSL Hacks|Hacks]]
 
* [[LSL Benchmarking Scripts|Benchmarking Scripts]]
 
----
 
* [[:Category:LSL Categorized Library|Categorized Library]]
 
* [[:Category:LSL Library|Library]]
 
----
 
* [[LSL Test Harness|Test Harness]]
 
* [[LSL Useful Function WishList|Useful Function Wish-List]]
 
</div>
 
|- valign="top" rules="all" style="border-width: 1px 1px 1px 1px; padding: 1px 1px 1px 1px; border-style: solid solid solid solid; border-color: gray;"
 
| height="1" colspan="2"|
 
{{LSL News}}
 
|- valign="top" rules="all" style="border-width: 1px 1px 1px 1px; padding: 1px 1px 1px 1px; border-style: solid solid solid solid; border-color: gray;"
 
| height="1" colspan="2"|
 
{{LSL Bugs}}
 
|- valign="top" rules="all" style="border-width: 1px 1px 1px 1px; padding: 1px 1px 1px 1px; border-style: solid solid solid solid; border-color: gray;"
 
| colspan="2"|
 
 
 
== Other LSL Wikis ==
 
<div style="padding: 0.5em;">
 
* [http://lslwiki.net/lslwiki/wakka.php?wakka=HomePage LSL Wiki] (The original LSL Wiki.)
 
* [http://lsl.project.zone/lsl/ Unofficial LSL Reference Wiki] (work in progress)
 
</div>
 
 
 
== Snapshot Mirrors ==
 
<div style="padding: 0.5em;">
 
</div>
 
|}
 
</div>
 
[[Category:Portals]]
 
[[Category:Creation]]
 
[[Category:LSL|*]]
 

2021年8月19日 (四) 09:02的最新版本

网站首页 | 百科首页 | 3D虚拟世界 | 音乐与人工智能 | 人工智能机器人 | 知识百科 | 关于我们

Template:Needs Translation/

这个类别为内置的LSL函数。

函数参数变化

LSL中的所有类型都是不会改变参数的值的,变量只能通过赋值来改变。要想改变变量的值唯一的方法是直接与存储操作符交互(=,+=,-=,*=,/=,%=,++,--)。

  • 内置函数永远不会修改用作参数的变量。
  • 在函数作用域中更改参数值的用户自定义函数不会修改这些参数对应的变量的值(按值传参)。

[1]

函数

关键值 描述
 NEW  这个函数是最近添加的。
 I  函数的 function ID 未知,或者可能没有。
 D  这个函数已经被弃用,但仍然可以工作。 最好避免标记为不推荐的函数。
 R  这个函数不仅被弃用,而且被删除了。 不要使用标记为已删除的函数。
 U  此功能尚未实现。 不要使用标记为未实现的函数。
 B  此函数被标记为已损坏,可能无法工作。
 G  这个函数需要 god-mode. 有这样标记的函数不能使用。
 RQ  此功能已被多个用户请求,但尚未实现。 不要使用按要求标记的函数。

注脚

  1. ^ Function parameters are effectively passed by value, not by reference. When pass by reference is used in LSO-LSL, the reference points to a copy of the value, not to the original.
<references/>

子类别

此类别有以下16个子类别,共有16个子类别。

LSL函数类别中的页面

此类别中以下200页,总共464页。 (上一个200)(下一个200