getBoundsGeometry.lua 692 B

1234567891011121314151617181920212223242526
  1. return {
  2. tag = 'playArea',
  3. summary = 'Get a list of points that make up the play area boundary.',
  4. description = [[
  5. Returns a list of points representing the boundaries of the play area, or `nil` if the current
  6. headset driver does not expose this information.
  7. ]],
  8. arguments = {
  9. {
  10. name = 't',
  11. type = 'table',
  12. default = 'nil',
  13. description = 'A table to fill with the points. If `nil`, a new table will be created.'
  14. }
  15. },
  16. returns = {
  17. {
  18. name = 'points',
  19. type = 'table',
  20. description = 'A flat table of 3D points representing the play area boundaries.'
  21. }
  22. },
  23. related = {
  24. 'lovr.headset.getBoundsDimensions'
  25. }
  26. }