getVertex.lua 602 B

12345678910111213141516171819202122
  1. return {
  2. summary = 'Get a single vertex in the Mesh.',
  3. description = [[
  4. Gets the data for a single vertex in the Mesh. The set of data returned depends on the Mesh's
  5. vertex format. The default vertex format consists of 8 floating point numbers: the vertex
  6. position, the vertex normal, and the texture coordinates.
  7. ]],
  8. arguments = {
  9. {
  10. name = 'index',
  11. type = 'number',
  12. description = 'The index of the vertex to retrieve.'
  13. }
  14. },
  15. returns = {
  16. {
  17. name = '...',
  18. type = 'number',
  19. description = 'All attributes of the vertex.'
  20. }
  21. }
  22. }