TextureData:getDimensions
Returns the dimensions of the TextureData, in pixels.
width, height = TextureData:getDimensions()
Arguments
None
Returns
Name | Type | Description |
width | number | The width of the TextureData, in pixels. |
height | number | The height of the TextureData, in pixels. |
See also
TextureData:getWidth
TextureData:getHeight
Texture:getDimensions
TextureData