LlGetAlpha
首页 | 函数 | 事件 | 类型 | 操作符 | 常数 | Flow Control | Script Library | Categorized Library | Tutorials |
函数名 |
---|
float llGetAlpha( integer face ) |
参数:integer face – face number or 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 |