| 12345678910111213141516171819202122232425 |
- return {
- tag = 'callbacks',
- summary = 'Called when the window is resized.',
- description = 'This callback is called when the desktop window is resized.',
- arguments = {
- {
- name = 'width',
- type = 'number',
- description = 'The new width of the window.'
- },
- {
- name = 'height',
- type = 'number',
- description = 'The new height of the window.'
- }
- },
- returns = {},
- related = {
- 'Pass:getDimensions',
- 'Pass:getWidth',
- 'Pass:getHeight',
- 'lovr.headset.getDisplayDimensions',
- 'lovr.conf'
- }
- }
|