setDrawMode.lua 488 B

1234567891011121314151617181920212223
  1. return {
  2. summary = 'Set the draw mode of the Mesh.',
  3. description = [[
  4. Changes the `DrawMode` of the mesh, which controls how the vertices in the Mesh are connected
  5. together to create pixels. The default is `triangles`.
  6. ]],
  7. arguments = {
  8. mode = {
  9. type = 'DrawMode',
  10. description = 'The current draw mode.'
  11. }
  12. },
  13. returns = {},
  14. variants = {
  15. {
  16. arguments = { 'mode' },
  17. returns = {}
  18. }
  19. },
  20. related = {
  21. 'Pass:setMeshMode'
  22. }
  23. }