LlGetColor
From Second Life Wiki
| LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Tutorials |
Contents |
Examples
// 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; } } }
See Also
Functions
| • | llGetAlpha | – | Gets the prim's alpha | |
| • | llSetAlpha | – | Sets the prim's alpha | |
| • | 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 |
Articles
| • | Color in LSL |
Deep Notes
Issues
Search JIRA for related IssuesFootnotes
- ^ Since sRGB is nonlinear this color may not in fact be of the greatest use.
This article wasn't helpful for you? Maybe the related article at the LSL Wiki is able to bring enlightenment.

