Wzc(讨论 | 贡献)2020年8月12日 (三) 13:37的版本 
 (差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
Template:Needs Translation/ 
| 函数名 | 
| Function: llSetText( string text, vector color, float alpha ); | 
| 参数: •字符串文本–要显示的浮动文本
 •矢量颜色–RGB中的颜色<R,G,B>(<0.0,0.0,0.0>=黑色,<1.0,1.0,1.0>=白色)
 •浮动α–从0.0(透明)到1.0(固体)(0.0<=α<=1.0)
 | 
| 返回值:“透明”和指定颜色的“半透明”显示在上面。 | 
| 注意事项 | 
| 无(如果遇到表格情况在文段末尾加一句表格参见附录) | 
| 示例 | 
| 示例1 default
{
    state_entry()
    {
        vector COLOR_GREEN = <0.0, 1.0, 0.0>;
        float  OPAQUE      = 1.0;
 
//      prim's name (not necessarily object's)
        llSetText(llGetObjectName(), COLOR_GREEN, OPAQUE );
 
//      delete the script as we only needed it to change the floating text property
        llRemoveInventory(llGetScriptName());
    }
}
 | 
附录:(表格)
| header 1 | header 2 | header 3 | 
| row 1, cell 1 | row 1, cell 2 | row 1, cell 3 | 
| row 2, cell 1 | row 2, cell 2 | row 2, cell 3 |