StatusBar:SetStatusBarTexture

From Warcraft Wiki
Jump to navigation Jump to search

Sets the texture of the status bar.

StatusBar:SetStatusBarTexture(asset)

Arguments

asset
Texture🔗|string|number : fileID - The texture for filling the portion between the status bar's minimum value and the current value.

Patch changes

Dragonflight Patch 10.0.0 (2022-10-25): No longer takes a drawLayer argument, you can use GetStatusBarTexture():SetDrawLayer() instead. No longer accepts rgb color texture arguments.
Battle for Azeroth Patch 8.2.0 (2019-06-25): Added support for FileIDs.