setDimensions.lua 567 B

12345678910111213141516171819202122232425
  1. return {
  2. summary = 'Set the dimensions of the BoxShape.',
  3. description = 'Sets the width, height, and depth of the BoxShape.',
  4. arguments = {
  5. width = {
  6. type = 'number',
  7. description = 'The width of the box, in meters.'
  8. },
  9. height = {
  10. type = 'number',
  11. description = 'The height of the box, in meters.'
  12. },
  13. depth = {
  14. type = 'number',
  15. description = 'The depth of the box, in meters.'
  16. }
  17. },
  18. returns = {},
  19. variants = {
  20. {
  21. arguments = { 'width', 'height', 'depth' },
  22. returns = {}
  23. }
  24. }
  25. }