Wowpedia
Advertisement
Wowpedia
240,442
pages

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(texture or "texture" or fileDataID or nil [, "layer"[, subLayer]])
StatusBar:SetStatusBarTexture(r, g, b[, a[, "layer"[, subLayer]]])

Arguments

texture or "texture" or fileDataID 
Texture or string or number - The texture object or file path or FileID.
r, g, b, a 
Number (0.0 to 1.0) - Red component.
Number (0.0 to 1.0) - Green component.
b
Number (0.0 to 1.0) - Blue component.
Number (0.0 to 1.0) - Alpha component (1.0 is opaque, 0.0 is transparent). The default value is 1.0.
layer 
string - The layer to use.
subLayer 
number - The Sublayer to use.

Patch changes

Advertisement