TextureData:getDimensions

Returns the dimensions of the TextureData, in pixels.

width, height = TextureData:getDimensions()

Arguments

None

Returns

NameTypeDescription
widthnumberThe width of the TextureData, in pixels.
heightnumberThe height of the TextureData, in pixels.

See also