WoW:API UIObject SetAlpha: Difference between revisions

m
no edit summary
mNo edit summary
Line 1: Line 1:
{{widgetmethod}} __NOTOC__
{{widgetmethod}}


Sets the alpha (transparency) of the given object.  
Sets the alpha (transparency) of the given object.


  MyObject:SetAlpha(alpha)
  MyObject:SetAlpha(alpha)
Line 12: Line 12:
== Example ==
== Example ==
Makes frame <tt>MyFrame</tt> translucent, more visible than not:
Makes frame <tt>MyFrame</tt> translucent, more visible than not:
  MyFrame:SetAlpha(.75);  
  MyFrame:SetAlpha(.75);


Fade the whole UI so that it becomes barely visible:
Fade the whole UI so that it becomes barely visible: