getBlendShapeName.lua 621 B

123456789101112131415161718192021222324252627
  1. return {
  2. summary = 'Get the name of a blend shape in the model.',
  3. description = 'Returns the name of a blend shape in the model.',
  4. arguments = {
  5. index = {
  6. type = 'number',
  7. description = 'The index of a blend shape.'
  8. }
  9. },
  10. returns = {
  11. name = {
  12. type = 'string',
  13. description = 'The name of the blend shape.'
  14. }
  15. },
  16. variants = {
  17. {
  18. arguments = { 'index' },
  19. returns = { 'name' }
  20. }
  21. },
  22. notes = 'This function will throw an error if the blend shape index is invalid.',
  23. related = {
  24. 'Model:getBlendShapeCount',
  25. 'ModelData:getBlendShapeName'
  26. }
  27. }