detachAttributes.lua 911 B

12345678910111213141516171819202122232425262728293031323334353637
  1. return {
  2. summary = 'Detach attributes that were attached from a different Mesh.',
  3. description = 'Detaches attributes that were attached using `Mesh:attachAttributes`.',
  4. arguments = {
  5. mesh = {
  6. type = 'Mesh',
  7. description = 'A Mesh. The names of all of the attributes from this Mesh will be detached.'
  8. },
  9. attributes = {
  10. type = 'table',
  11. description = 'A table of attribute names to detach.'
  12. },
  13. ['...'] = {
  14. type = 'string',
  15. description = 'The names of attributes to detach.'
  16. }
  17. },
  18. returns = {},
  19. variants = {
  20. {
  21. description = 'Detaches all attributes from the other mesh, by name.',
  22. arguments = { 'mesh' },
  23. returns = {}
  24. },
  25. {
  26. arguments = { 'mesh', '...' },
  27. returns = {}
  28. },
  29. {
  30. arguments = { 'mesh', 'attributes' },
  31. returns = {}
  32. }
  33. },
  34. related = {
  35. 'Mesh:attachAttributes'
  36. }
  37. }