Difference between revisions of "GetFPS"
Jump to navigation
Jump to search
imported>Haama (Notes on CPU usage) |
imported>DragoonWraith (not a record variable function) |
||
(One intermediate revision by one other user not shown) | |||
Line 8: | Line 8: | ||
==Notes== | ==Notes== | ||
*This function can take a heavy toll on the CPU. Do not use every frame. | *This function can take a heavy toll on the CPU. Do not use every frame. | ||
==See Also== | |||
*[[GetSecondsPassed]] (can be used as an alternative, not nearly as expensive on the CPU) | |||
[[Category:Functions]] | [[Category:Functions]] | ||
Line 13: | Line 16: | ||
[[Category:Debug Functions]] | [[Category:Debug Functions]] | ||
[[Category:Debug Functions (OBSE)]] | [[Category:Debug Functions (OBSE)]] | ||
Latest revision as of 18:06, 21 March 2008
A command for Oblivion Script Extender
Syntax:
(fps:float) GetFPS
Returns the frames per second of the game.
Notes[edit | edit source]
- This function can take a heavy toll on the CPU. Do not use every frame.
See Also[edit | edit source]
- GetSecondsPassed (can be used as an alternative, not nearly as expensive on the CPU)