Category:LSL Alpha

From Second Life Wiki
Revision as of 19:21, 12 August 2009 by Zai Lynch (talk | contribs) (remark about alpha texture)
Jump to navigation Jump to search

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.