Sets the maximum number of times per second for the animation to update its progress. Useful for limiting the amount of CPU time used by an animation. For example, if an UI element is 30 pixels square and is animated to double in size in 1 second, any visible increase in animation quality if WoW is running faster than 30 frames per second will be negligible. Limiting the animation's framerate frees CPU time to be used for other animations or UI scripts.
Signature:
Animation:SetMaxFramerate(framerate)
Arguments:
framerate- Maximum number of times per second for the animation to update its progress, or0to run at the maximum possible framerate (number)