getAnimationName.lua 551 B

123456789101112131415161718192021222324
  1. return {
  2. summary = 'Get the name of an animation in the Model.',
  3. description = 'Returns the name of one of the animations in the Model.',
  4. arguments = {
  5. {
  6. name = 'index',
  7. type = 'number',
  8. description = 'The index of the animation to get the name of.'
  9. }
  10. },
  11. returns = {
  12. {
  13. name = 'name',
  14. type = 'string',
  15. description = 'The name of the animation.'
  16. }
  17. },
  18. related = {
  19. 'Model:getAnimationCount',
  20. 'Model:getAnimationDuration',
  21. 'Model:getMaterialName',
  22. 'Model:getNodeName'
  23. }
  24. }