getBoundsWidth.lua 459 B

12345678910111213141516171819202122
  1. return {
  2. tag = 'playArea',
  3. summary = 'Get the width of the play area.',
  4. description = 'Returns the width of the play area, in meters.',
  5. arguments = {},
  6. returns = {
  7. width = {
  8. type = 'number',
  9. description = 'The width of the play area, in meters.'
  10. }
  11. },
  12. variants = {
  13. {
  14. arguments = {},
  15. returns = { 'width' }
  16. }
  17. },
  18. related = {
  19. 'lovr.headset.getBoundsDepth',
  20. 'lovr.headset.getBoundsDimensions'
  21. }
  22. }