TextureData:getWidth

Returns the width of the TextureData, in pixels.

width = TextureData:getWidth()

Arguments

None

Returns

NameTypeDescription
widthnumberThe width of the TextureData, in pixels.

See also