Difference between revisions of "Category:LSL Alpha"

From Second Life Wiki
Jump to: navigation, search
m
(remark about alpha texture)
Line 4: Line 4:
  
 
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.
 
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, [[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}}

Revision as of 19:21, 12 August 2009

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.