Wikia

WoWWiki

API GetFramerate

Talk0
101,500pages on
this wiki
Revision as of 17:29, January 6, 2007 by Hobinbot (Talk | contribs)

WoW API < GetFramerate

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.

Around Wikia's network

Random Wiki