LlGetGlow
From Second Life Wiki
Second Life Wiki > LlGetGlow
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Tutorials |
| | LSL Feature Request |
| The described function does not exist. This article is a feature request. |
Contents |
Examples
//Tells the owner the glow on all sides default { state_entry() { integer i = 0; integer max = llGetNumberOfSides(); while(i < max) { llSay(0,"Face "+(string)i+" glow is " + (string)llGetGlow(i)); ++i; } } }
Useful Snippets
float AveragePrimGlow() {//Since this is so simple you may just want to inline it instead of including the function. return (llGetGlow(ALL_SIDES) / llGetNumberOfSides()); }
See Also
Functions
| • | llSetAlpha | – | Sets the prim's alpha | |
| • | llGetAlpha | – | Gets 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 |

