Region:GetDrawLayer

From Warcraft Wiki
Jump to navigation Jump to search

Returns the layer in which the region is drawn.

layer, sublayer = Region:GetDrawLayer()

Returns

layer
string : DrawLayer - Layer in which this layered region is rendered, e.g. "ARTWORK"
sublayer
number? - The sublevel within the returned layer, between -8 and 7.

Details

  • Regions within the same layer will be ordered by the sublevel property, with higher-value regions being rendered on top of lower ones.