getWidth.lua 524 B

12345678910111213141516171819202122232425
  1. return {
  2. summary = 'Get the width of the Model.',
  3. description = 'Returns the width of the Model, computed from its axis-aligned bounding box.',
  4. arguments = {},
  5. returns = {
  6. width = {
  7. type = 'number',
  8. description = 'The width of the Model.'
  9. }
  10. },
  11. variants = {
  12. {
  13. arguments = {},
  14. returns = { 'width' }
  15. }
  16. },
  17. related = {
  18. 'Model:getHeight',
  19. 'Model:getDepth',
  20. 'Model:getDimensions',
  21. 'Model:getCenter',
  22. 'Model:getBoundingBox',
  23. 'ModelData:getWidth'
  24. }
  25. }