getAABB.lua 902 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. return {
  2. summary = 'Get the Shape\'s axis aligned bounding box.',
  3. description = 'Returns the bounding box for the Shape.',
  4. arguments = {},
  5. returns = {
  6. {
  7. name = 'minx',
  8. type = 'number',
  9. description = 'The minimum x coordinate of the box.'
  10. },
  11. {
  12. name = 'maxx',
  13. type = 'number',
  14. description = 'The maximum x coordinate of the box.'
  15. },
  16. {
  17. name = 'miny',
  18. type = 'number',
  19. description = 'The minimum y coordinate of the box.'
  20. },
  21. {
  22. name = 'maxy',
  23. type = 'number',
  24. description = 'The maximum y coordinate of the box.'
  25. },
  26. {
  27. name = 'minz',
  28. type = 'number',
  29. description = 'The minimum z coordinate of the box.'
  30. },
  31. {
  32. name = 'maxz',
  33. type = 'number',
  34. description = 'The maximum z coordinate of the box.'
  35. }
  36. },
  37. related = {
  38. 'Collider:getAABB'
  39. }
  40. }