getDrawRange.lua 601 B

123456789101112131415161718192021222324
  1. return {
  2. summary = 'Get the draw range of the Mesh.',
  3. description = [[
  4. Retrieve the current draw range for the Mesh. The draw range is a subset of the vertices of the
  5. Mesh that will be drawn.
  6. ]],
  7. arguments = {},
  8. returns = {
  9. {
  10. name = 'start',
  11. type = 'number',
  12. description = [[
  13. The index of the first vertex that will be drawn, or nil if no draw range is set.
  14. ]]
  15. },
  16. {
  17. name = 'count',
  18. type = 'number',
  19. description = [[
  20. The number of vertices that will be drawn, or nil if no draw range is set.
  21. ]]
  22. }
  23. }
  24. }