XML UI ← XML properties < Layers

Layers holds a list of Layer elements, and is a fundamental UI building block for creating visible graphical elements for Frame UI elements. Layers can be defined on any Frame type elements, including Buttons and EditBoxes.

Inheritance Edit

Inherited by: none, Inherits: none, Defined in: Frame

Elements Edit

<Layer> ...

Attributes Edit


Summary Edit

Layers are the primary 'Drawing' mechanism in the WoW UI, and allow WoW to display all of its visible UI elements on the screen. Layers work by defining a list of <Layer> elements, each of which define a 'Z order' level, and define which LayoutFrames should be drawn at that 'level'. A layer works by listing Texture and FontString elements each of which can draw itself based on how its defined. The cumulative effect of all the Layers in the Layer list, combined with their FontString and Texture elements, will render the all the visible elements for a Frame at runtime.

Example Edit

<Frame name="MyFrame">
Layer definitions are only valid on pages of namespace "Layer"

This example will show a frame with several textures.

Details Edit

Ad blocker interference detected!

Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.