Fandom

WoWWiki

API UIFrameFadeIn

104,634pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.


WoW API < UIFrameFadeIn
Icon-information-22x22This function is implemented by FrameXML in [DEPRECATED http://wowprogramming.com/utils/xmlbrowser/live/FrameXML/UIParent.lua FrameXML/UIParent.lua].


Convenience functions for managing the fading in and out of a frame.

UIFrameFadeIn(frame, timeToFade, startAlpha, endAlpha)
UIFrameFadeOut(frame, timeToFade, startAlpha, endAlpha)


Arguments Edit

(frame, timeToFade, startAlpha, endAlpha)
frame 
Frame - The frame to fade
timeToFade 
Number the time it takes to fade in or out (in seconds)
startAlpha 
Number - The beginning alpha value (between 0 and 1)
endAlpha 
Number - The ending alpha value (between 0 and 1)


Returns Edit

nil


Details Edit

When the fade is finished frame.fadeInfo.finishedFunc will be called then set to nil.
frame.fadeInfo.finishedFunc(
  frame.fadeInfo.finishedArg1, 
  frame.fadeInfo.finishedArg2, 
  frame.fadeInfo.finishedArg3, 
  frame.fadeInfo.finishedArg4
)

Also on Fandom

Random Wiki