getMeshVertexCount.lua 493 B

12345678910111213141516171819202122232425
  1. return {
  2. summary = 'Get the number of vertices in a mesh.',
  3. description = 'Returns the number of vertices in a mesh.',
  4. arguments = {
  5. mesh = {
  6. type = 'number',
  7. description = 'The index of a mesh.'
  8. }
  9. },
  10. returns = {
  11. count = {
  12. type = 'number',
  13. description = 'The number of vertices in the mesh.'
  14. }
  15. },
  16. variants = {
  17. {
  18. arguments = { 'mesh' },
  19. returns = { 'count' }
  20. }
  21. },
  22. related = {
  23. 'ModelData:getMeshIndexCount'
  24. }
  25. }