WoW:XML/Texture

From AddOn Studio
< XML
Revision as of 12:37, 17 September 2009 by WoWWiki>SinusPi (Created page with 'Derived from: LayoutFrame Elements: TexCoords, Color, Gradient Attributes: file, alphaMode Note: The Textu…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Inheritance

Derived from: LayoutFrame

Elements

<TexCoords>, Color, Gradient

Attributes

file
(string) File name
alphaMode
(string) Blending mode

Notes

Note: The Texture must be within a <Layer>

Note #2: When adding custom textures remember that the file must have power-of-two dimensions, or else you'll end up with a solid green texture. For reference: 1, 2, 4, 8, 16, 32, 64, 128, 256, 512, 1024, 2048... You can always cut off any excess size with TexCoords.