getPointSize.lua 363 B

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