WoW:API Frame CreateTexture

Revision as of 13:54, 24 February 2008 by WoWWiki>DocMartin (New page: Good for solid color backgrounds instead of using the SetBackdrop function. FRAME.texture = FRAME:CreateTexture() texture:SetAllPoints(FRAME) texture:SetTexture(r,g,b[,a]))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Good for solid color backgrounds instead of using the SetBackdrop function.

FRAME.texture = FRAME:CreateTexture()

texture:SetAllPoints(FRAME)

texture:SetTexture(r,g,b[,a])