getFPS.lua 293 B

1234567891011121314
  1. return {
  2. summary = 'Get the current frames per second.',
  3. description = [[
  4. Returns the current frames per second, averaged over the last 90 frames.
  5. ]],
  6. arguments = {},
  7. returns = {
  8. {
  9. name = 'fps',
  10. type = 'number',
  11. description = 'The current FPS.'
  12. }
  13. }
  14. }