getBoundsDepth.lua 391 B

1234567891011121314151617
  1. return {
  2. tag = 'playArea',
  3. summary = 'Get the depth of the play area.',
  4. description = 'Returns the depth of the play area, in meters.',
  5. arguments = {},
  6. returns = {
  7. {
  8. name = 'depth',
  9. type = 'number',
  10. description = 'The depth of the play area, in meters.'
  11. }
  12. },
  13. related = {
  14. 'lovr.headset.getBoundsWidth',
  15. 'lovr.headset.getBoundsDimensions'
  16. }
  17. }