Wowpedia
Advertisement
Wowpedia
240,483
pages

Sets the layer in which the LayeredRegion is drawn.

layeredRegion:SetDrawLayer(layer [, sublevel])

Arguments

layer 
string - Layer to draw the region in, e.g. "BACKGROUND" or "ARTWORK".
sublevel 
number?Optional. Could be nil. - Integer between -8 and 7 (inclusive) from back to front, further subdividing each layer.

Details

  • Not all kinds of LayeredRegion use the second argument; e.g. FontString is always drawn above other kinds sharing the same layer.
Advertisement