“LlGetAlpha”的版本间的差异
|  (创建页面,内容为“{{LSL Header|ml=*}}{{LSLC|Keywords}}{{LSLC|Flow Control}}{{LSLC|}}   {{函数详情 |函数名 = float llGetAlpha( integer face ) |参数= 参数:integer	face	–…”) | |||
| 第4行: | 第4行: | ||
| {{函数详情 | {{函数详情 | ||
| |函数名 = float llGetAlpha( integer face ) | |函数名 = float llGetAlpha( integer face ) | ||
| − | |参数= 参数:integer	face	–	 | + | |参数= 参数:integer	face	–	面的编号或者ALL_SIDES表示所有面 | 
| |返回值= 返回值:返回一个浮点数,它是face的alpha值。 | |返回值= 返回值:返回一个浮点数,它是face的alpha值。 | ||
2021年8月29日 (日) 02:39的最新版本
| 首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials | 
| 函数名 | 
|---|
| float llGetAlpha( integer face ) | 
| 参数:integer face – 面的编号或者ALL_SIDES表示所有面 | 
| 返回值:返回一个浮点数,它是face的alpha值。 | 
| 注意事项 | 
|---|
| 注意事项 
 | 
| 示例 | 
|---|
| //Tells the owner the alpha on all sides
default
{
    state_entry()
    {
        integer i = 0;
        integer max = llGetNumberOfSides();
        while(i < max)
        {
            llSay(0,"Face "+(string)i+" alpha is " + (string)llGetAlpha(i));
            ++i;
        }
    }
}
 | 
| 相关函数 | 
|---|
| llSetAlpha	–	Sets the prim's alpha llGetColor – Gets the prim's color llSetColor – Sets the prim's color llSetLinkColor – Sets link's color llSetLinkAlpha – Sets link's alpha llGetNumberOfSides – Gets the number of faces on the prim | 
| 相关事件 | 
|---|
| Translucent Color | 
