points.lua 785 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. return {
  2. tag = 'graphicsPrimitives',
  3. summary = 'Draw one or more points.',
  4. description = 'Draws one or more points.',
  5. arguments = {
  6. x = {
  7. type = 'number',
  8. description = 'The x coordinate of the point.'
  9. },
  10. y = {
  11. type = 'number',
  12. description = 'The y coordinate of the point.'
  13. },
  14. z = {
  15. type = 'number',
  16. description = 'The z coordinate of the point.'
  17. },
  18. ['...'] = {
  19. type = 'number',
  20. description = 'More points.'
  21. },
  22. points = {
  23. type = 'table',
  24. description = 'A table of points, as described above.'
  25. }
  26. },
  27. returns = {},
  28. variants = {
  29. {
  30. arguments = { 'x', 'y', 'z', '...' },
  31. returns = {}
  32. },
  33. {
  34. arguments = { 'points' },
  35. returns = {}
  36. }
  37. }
  38. }