Difference between revisions of "GetFPS"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Haama
(Notes on CPU usage)
imported>Haama
(Added link to GetSecondsPassed)
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]]

Revision as of 08:44, 15 September 2007

A command for Oblivion Script Extender

Syntax:

(fps:float) GetFPS

Returns the frames per second of the game.

Notes

  • 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)