Sets the texture used for drawing the filled-in portion of the status bar. The texture image is stretched to fill the dimensions of the entire status bar, then cropped to show only a portion corresponding to the status bar's current value.
Signature:
StatusBar:SetStatusBarTexture(texture
[,
"layer"])
or
StatusBar:SetStatusBarTexture("filename"
[,
"layer"])
Arguments:
texture
- Reference to an existingTexture
object (texture
)filename
- Path to a texture image file (string
)layer
- Graphics layer in which the texture should be drawn; defaults toARTWORK
if not specified (string
, layer)