Sol.animation.Fade

Sol.animation.Fade = function(addonName, frame, fadeToAlpha, fps, time, onUpdateFnName)

Animates a fade in or fade out (transparency) of a frame.

Note: This uses Sol.timers.ScheduleTimer. Please see the notes for that function as they pertain to this one, as well.

Parameters: + addonName     - Your addon's name + frame         - Frame to fade + fadeToAlpha   - The alpha level to gradually change toward (between 0 and 1) Defaults to 0 if current alpha > 0, or 1 otherwise + fps           - How many frames per second to use for the animation Defaults to Sol.constants.DEFAULT_FPS + time          - How much time to take for the animation Defaults to Sol.constants.DEFAULT_ANIMATION_TIME + onUpdateFnName - The name of the OnUpdate handler to use (optional) Defaults to _OnUpdate Returns: + true if the animation was setup successfully; else false

Post: + The frame's alpha will gradually change until it gets to the 'fadeToAlpha' value