setPointSize.lua 382 B

123456789101112131415161718
  1. return {
  2. tag = 'graphicsState',
  3. summary = 'Set the point size.',
  4. description = 'Sets the width of drawn points, in pixels.',
  5. arguments = {
  6. {
  7. name = 'size',
  8. type = 'number',
  9. default = '1.0',
  10. description = 'The new point size.'
  11. }
  12. },
  13. returns = {},
  14. related = {
  15. 'lovr.graphics.points'
  16. },
  17. notes = 'The default point size is `1.0`.'
  18. }