getBoundsWidth.lua 391 B

1234567891011121314151617
  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. {
  8. name = 'width',
  9. type = 'number',
  10. description = 'The width of the play area, in meters.'
  11. }
  12. },
  13. related = {
  14. 'lovr.headset.getBoundsDepth',
  15. 'lovr.headset.getBoundsDimensions'
  16. }
  17. }