setDrawRange.lua 684 B

1234567891011121314151617181920212223242526272829
  1. return {
  2. summary = 'Set the draw range of the Mesh.',
  3. description = [[
  4. Set the draw range for the Mesh. The draw range is a subset of the vertices of the Mesh that
  5. will be drawn.
  6. ]],
  7. arguments = {
  8. start = {
  9. type = 'number',
  10. description = 'The first vertex that will be drawn.'
  11. },
  12. count = {
  13. type = 'number',
  14. description = 'The number of vertices that will be drawn.'
  15. }
  16. },
  17. returns = {},
  18. variants = {
  19. {
  20. arguments = { 'start', 'count' },
  21. returns = {}
  22. },
  23. {
  24. description = 'Remove the draw range, causing the Mesh to draw all of its vertices.',
  25. arguments = {},
  26. returns = {}
  27. }
  28. }
  29. }