getSkinCount.lua 513 B

123456789101112131415161718192021222324
  1. return {
  2. summary = 'Get the number of skins in the model.',
  3. description = [[
  4. Returns the number of skins in the model. A skin is a collection of joints targeted by an
  5. animation.
  6. ]],
  7. arguments = {},
  8. returns = {
  9. count = {
  10. type = 'number',
  11. description = 'The number of skins in the model.'
  12. }
  13. },
  14. variants = {
  15. {
  16. arguments = {},
  17. returns = { 'count' }
  18. }
  19. },
  20. notes = 'There is currently a maximum of 256 skins.',
  21. related = {
  22. 'Model:hasJoints'
  23. }
  24. }