API LayeredRegion SetDrawLayer

From Wowpedia
Jump to: navigation, search

Sets the layer in which the LayeredRegion is drawn.

layeredRegion:SetDrawLayer("LAYER"[, sublevel])

Arguments

layer 
String (Layer) - coarse layer to draw the region in, e.g. "BACKGROUND" or "ARTWORK".
sublevel 
Number (optional) - Integer between -8 and 7 (inclusive), controls rendering order within the specified layer. Regions with lower sublevel values are drawn below those with higher ones.