Layer:setDimensions
EditSets the width and height of the layer. This is the size of the Layer's plane in meters, not not the resolution of the layer's texture in pixels.
Layer:setDimensions(width, height)
Arguments
Name | Type | Description |
width | number | The width of the layer, in meters. |
height | number | The height of the layer, in meters. |
Returns
Nothing
Notes
When a layer is created, its width and height are 1 meter.