getTime.lua 389 B

123456789101112131415161718
  1. return {
  2. summary = 'Get the current time.',
  3. description = [[
  4. Returns the time since some time in the past. This can be used to measure the difference
  5. between two points in time.
  6. ]],
  7. arguments = {},
  8. returns = {
  9. {
  10. name = 'time',
  11. type = 'number',
  12. description = 'The current time, in seconds.'
  13. }
  14. },
  15. related = {
  16. 'lovr.headset.getTime'
  17. }
  18. }