Difference between revisions of "Category:LSL Alpha"
(remark about alpha texture) |
m |
||
Line 7: | Line 7: | ||
Sometimes, [[Resident]]s refer to a transparent [[texture]] as ''alpha texture''. This is not to be confused with this prim property. See [[llSetTexture]] and [[TEXTURE_TRANSPARENT]] instead. | Sometimes, [[Resident]]s refer to a transparent [[texture]] as ''alpha texture''. This is not to be confused with this prim property. See [[llSetTexture]] and [[TEXTURE_TRANSPARENT]] instead. | ||
{{LSLC|}}{{LSLC|Face}} | {{LSLC|}}{{LSLC|Face|Alpha}} |
Revision as of 17:22, 19 October 2009
LSL Portal | Functions | Events | Types | Operators | Constants | Flow Control | Script Library | Categorized Library | Tutorials |
The term "Alpha" refers to how opaque or transparent an object (or, in this case, a prim) is. In Second Life, the alpha property is set by the scripting command llSetAlpha. This command uses a float value. When set to 0.0, the object/prim is fully invisible. When set to 1.0, the object is fully opaque.
In Build Mode, the alpha is represented by a percentage, ranging from 0% to 100%. 0% is like typing in llSetAlpha(1.0) in a script, and 100% is like typing llSetAlpha(0.0). There is a cap of 90%, but by using the llSetAlpha command, you can get around this.
Sometimes, Residents refer to a transparent texture as alpha texture. This is not to be confused with this prim property. See llSetTexture and TEXTURE_TRANSPARENT instead.
Pages in category "LSL Alpha"
The following 25 pages are in this category, out of 25 total.