WoW:API ToggleFramerate: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
m (Move page script moved page API ToggleFramerate to API ToggleFramerate without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
<center>'''ToggleFramerate''' ''-Documentation by Sheng-''</center>
<br>{{framexmlfunc|FrameXML/WorldFrame.lua}} __NOTOC__


Show/Hide the FPS.


  ToggleFramerate();
  ToggleFramerate();


----
Show/Hide the Frames Per Second meter
;''Arguments''
 
 
== Parameters ==
=== Arguments ===


:''none''
:''none''


----
=== Returns ===
;''Returns''


:;nil
:;nil


----
 
;''Example''
== Example ==
  ToggleFramerate();
  ToggleFramerate();


;''Result''


----
== Details ==
;''Description''


: Toogle FPS, essentially equal to CTRL+R
: Toogles the FPS meter, the same as hitting CTRL+R with default keybindings
----
{{Template:WoW API}}
[[Category:API Functions|ToggleFramerate]]
[[Category:API Toggle Functions|ToggleFramerate]]

Latest revision as of 04:47, 15 August 2023


WoW API < ToggleFramerate

"I" iconThis function is implemented in Lua here FrameXML/WorldFrame.lua.


ToggleFramerate();

Show/Hide the Frames Per Second meter


Parameters[edit]

Arguments[edit]

none

Returns[edit]

nil


Example[edit]

ToggleFramerate();


Details[edit]

Toogles the FPS meter, the same as hitting CTRL+R with default keybindings