WoW:API UIFrameFadeIn: Difference between revisions
Jump to navigation
Jump to search
({{framexml}}, mark stub) |
mNo edit summary |
||
Line 3: | Line 3: | ||
{{stub/api}} | {{stub/api}} | ||
UIFrameFadeIn(frame, timeToFade, startAlpha, endAlpha) | 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 |
Revision as of 02:38, 21 August 2006
← WoW API < UIFrameFadeIn
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