Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API UIFrameFade OnUpdate

Last wiki revision 2020-05-25

Manages the fading of frames that use, and. UIFrameFade_OnUpdate(self, elapsed)

  • self : - Reference to the frame being updated
  • elapsed : - The elapsed time in milliseconds

Fading frame attribute listing ============================================================ frame.timeToFade [Num] Time it takes to fade the frame in or out frame.mode ["IN", "OUT"] Fade mode frame.finishedFunc [func] Function that is called when fading is finished frame.finishedArg1 [ANYTHING] Argument to the finishedFunc frame.finishedArg2 [ANYTHING] Argument to the finishedFunc frame.finishedArg3 [ANYTHING] Argument to the finishedFunc frame.finishedArg4 [ANYTHING] Argument to the finishedFunc frame.fadeHoldTime [Num] Time to hold the faded state

  • Keeps a table of frames its currently fading. Each frame in that table has a table of fadeInfo.
  • All of the entries starting with the word "finished" must be set for each individual fade, and are used by UIFrameFlashUpdate (and related) to reverse/restart fade direction when something is flashing.

Source

https://warcraft.wiki.gg/wiki/API_UIFrameFade_OnUpdate · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.