API UIFrameFadeIn
From WoW Classic Wiki
More actions
- "I" iconThis function is not a real API. It is defined by FrameXML in FrameXML/UIParent.lua.
Template:Stub/Begin This article or section is a World of Warcraft API stub. You can help expand it by clicking edit this page above.
- Please see How to edit API pages for a list of boilerplates and page tags to use for different types of API related pages.
- Please be aware of the new rules of API pages as, we no longer just slap "{{WoW API}}" at the bottom of pages.
UIFrameFadeIn(frame, timeToFade, startAlpha, endAlpha) UIFrameFadeOut(frame, timeToFade, startAlpha, endAlpha)
timeToFade in seconds, alpha from 0 to 1. Convenience functions to set up a given frame and have it faded in ou out by UIFrameFadeUpdate.
When the fade is finished...
[frame].fadeInfo.finishedFunc( [frame].fadeInfo.finishedArg1, [frame].fadeInfo.finishedArg2, [frame].fadeInfo.finishedArg3, [frame].fadeInfo.finishedArg4 )
...will be called, and then [frame].fadeInfo.finishedFunc is set to nil