“LlGetColor”的版本间的差异
|  (创建页面,内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = Function: vector llGetColor( integer face ) |参数= 参数:intege…”) | |||
| 第4行: | 第4行: | ||
| {{函数详情 | {{函数详情 | ||
| |函数名 = Function: vector llGetColor( integer face ) | |函数名 = Function: vector llGetColor( integer face ) | ||
| − | |参数= 参数:integer face –  | + | |参数= 参数:integer face – 面的编号ALL_SIDES表示所有面 | 
| |返回值= 返回值:返回face的颜色向量。 | |返回值= 返回值:返回face的颜色向量。 | ||
2021年8月29日 (日) 03:59的最新版本
| 首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials | 
| 函数名 | 
|---|
| Function: vector llGetColor( integer face ) | 
| 参数:integer face – 面的编号ALL_SIDES表示所有面 | 
| 返回值:返回face的颜色向量。 | 
| 注意事项 | 
|---|
| 注意事项 
 | 
| 示例 | 
|---|
| // Tells the owner the color on all sides
default
{
    state_entry()
    {
        integer i = 0;
        integer max = llGetNumberOfSides();
        while(i < max)
        {
            llOwnerSay("Face " + (string) i + " color is " + (string) llGetColor(i));
            ++i;
        }
    }
}
 | 
| 相关函数 | 
|---|
| llGetAlpha - 得到prim的alpha llSetAlpha -设置prim的alpha值 llSetColor -设置prim的颜色 llSetLinkColor -设置链接的颜色 llSetLinkAlpha -设置链接的alpha值 llGetNumberOfSides -获取整面体上的面数 | 
| 相关事件 | 
|---|
