| 12345678910111213141516171819202122232425 |
- return {
- summary = 'Set the size of the layer.',
- description = [[
- Sets the width and height of the layer. This is the size of the plane the layer is rendered
- onto, not the resolution of the layer's texture in pixels.
- ]],
- arguments = {
- width = {
- type = 'number',
- description = 'The width of the layer, in meters.'
- },
- height = {
- type = 'number',
- description = 'The height of the layer, in meters.'
- }
- },
- returns = {},
- variants = {
- {
- arguments = { 'width', 'height' },
- returns = {}
- }
- },
- notes = 'When a layer is created, its width and height are 1 meter.'
- }
|