getDisplayHeight.lua 409 B

1234567891011121314151617
  1. return {
  2. tag = 'headset',
  3. summary = 'Get the height of the headset display.',
  4. description = 'Returns the height of the headset display (for one eye), in pixels.',
  5. arguments = {},
  6. returns = {
  7. {
  8. name = 'height',
  9. type = 'number',
  10. description = 'The height of the display.'
  11. }
  12. },
  13. related = {
  14. 'lovr.headset.getDisplayWidth',
  15. 'lovr.headset.getDisplayDimensions'
  16. }
  17. }