Widget API: StatusBar:SetStatusBarTexture

From AddOn Studio
Jump to navigation Jump to search

Widget API ← StatusBar < SetStatusBarTexture

Sets the texture of the StatusBar object (which is used when filling the portion between the StatusBar's Minimum value and the Current value).

StatusBar:SetStatusBarTexture("file" or texture [, "layer"])

Arguments[edit]

("file" or texture [, layer])
file
String - The path to the texture file
texture
Texture - The texture to use
layer
String (Layer) - The layer to use


Returns[edit]

nil