Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
(Corrected the range.)
No edit summary
Line 2: Line 2:
   
 
Sets the alpha of given object. Alpha is an integer between 0 and 1. 1 being opaque, 0 being transparent.
 
Sets the alpha of given object. Alpha is an integer between 0 and 1. 1 being opaque, 0 being transparent.
  +
  +
Note: If you attempt to set the same value to this more than once it will detect this and will return early after the first attempt.
   
 
e.g. MyFrame:SetAlpha(.75); makes the frame translucent, more visible than not.
 
e.g. MyFrame:SetAlpha(.75); makes the frame translucent, more visible than not.

Revision as of 02:02, 4 July 2006

Sets the alpha of given object. Alpha is an integer between 0 and 1. 1 being opaque, 0 being transparent.

Note: If you attempt to set the same value to this more than once it will detect this and will return early after the first attempt.

e.g. MyFrame:SetAlpha(.75); makes the frame translucent, more visible than not.