WoW:API GetFramerate
Jump to navigation
Jump to search
Retrieve the current framerate (frames / second).
local framerate = GetFramerate();
- Arguments
- none
- Returns
- framerate
- Float - The current framerate in frames per second.
- Example
local framerate = GetFramerate(); message("Your current FPS is " .. floor(framerate) .. "fps.");
- Result
Displays the current framerate in a message box.
- Description
- Returns the current framerate.