LayeredRegion

From Multiverse

Jump to: navigation, search

LayeredRegion is an element for renderable widgets that are not full frames. It is an abstract widget type: You cannot create a LayeredRegion widget, but only child widgets that inherit from it.

Derived from: Region.

Methods

In addition to the methods of Region, LayeredRegion has the following methods.

Method Description Parameters
GetDrawLayer() Returns the draw layer of the region. One of the following:
  • BACKGROUND
  • ARTWORK
  • BORDER
  • OVERLAY
None
SetDrawLayer(layer) Sets the draw layer for the region. layer: the draw layer for the region. One of the following:
  • BACKGROUND
  • ARTWORK
  • BORDER
  • OVERLAY
SetVertexColor(r, g, b) Sets the vertex color for the region. r: red value

g: green value
b: blue value

SetVertexColor(r, g, b, alpha) Sets the vertex color for the region. r: red value

g: green value
b: blue value
alpha: alpha value

Personal tools