v0.13.8

Region

object type16 methodsavailable in: camelot

It has every method of ScriptRegion, ScriptRegionResizing and AnimatableObject, plus 16 of its own.

Inherits from

  1. Region · 16
  2. ScriptRegion · 55
  3. ScriptRegionResizing · 13
  4. AnimatableObject · 3
  5. Object · 5
  6. FrameScriptObject · 21

The number is each type's own documented methods. A Region has all of them.

Methods

In the emulator: 14 implemented, 2 recorded.

methodwhat it doesstatus
GetAlphaReturns the region's opacity. · warcraft.wiki.gg ↗
(): number
implemented
GetDrawLayerReturns the layer in which the region is drawn. · warcraft.wiki.gg ↗
(): (DrawLayer, number)
recorded
GetEffectiveScaleReturns the effective scale of the region. · warcraft.wiki.gg ↗
(): number
implemented
GetScaleReturns the scale of the region. · warcraft.wiki.gg ↗
(): number
implemented
GetVertexColorReturns the vertex color shading of the region. · warcraft.wiki.gg ↗
(): (number?, number?, number?, number?)
implemented
IsIgnoringParentAlphaReturns true if the region is ignoring parent alpha. · warcraft.wiki.gg ↗
(): boolean
implemented
IsIgnoringParentScaleReturns true if the region is ignoring parent scale. · warcraft.wiki.gg ↗
(): boolean
implemented
IsObjectLoadedReturns true if the region is fully loaded. · warcraft.wiki.gg ↗
(): boolean
recorded
SetAlphaSets the opacity of the region. · warcraft.wiki.gg ↗
(alpha: number)
implemented
SetAlphaFromBooleanSets the region's opacity to one of two values depending on a boolean, which may be a secret. · by wowlua
(value: boolean, alphaIfTrue: number, alphaIfFalse: number)
implemented
SetDrawLayerSets the layer in which the region is drawn. · warcraft.wiki.gg ↗
(layer: DrawLayer, sublevel: number)
implemented
SetIgnoreParentAlphaSets whether the region should ignore its parent's alpha. · warcraft.wiki.gg ↗
(ignore: boolean)
implemented
SetIgnoreParentScaleSets whether the region should ignore its parent's scale. · warcraft.wiki.gg ↗
(ignore: boolean)
implemented
SetScaleSets the size scaling of the region. · warcraft.wiki.gg ↗
(scale: number)
implemented
SetVertexColorSets the vertex shading color of the region. · warcraft.wiki.gg ↗
(colorR: number, colorG: number, colorB: number, a: number?)
implemented
SetVertexColorFromBooleanSets the region's vertex color to one of two colors depending on a boolean, which may be a secret. · by wowlua
(value: boolean, colorIfTrue: ColorMixin, colorIfFalse: ColorMixin)
implemented

sources

Methods and inheritance: Blizzard's API documentation (Blizzard_APIDocumentationGenerated) (camelot 1.60.1). Descriptions: warcraft.wiki.gg's API pages, by its contributors, CC BY-SA 4.0 ↗; written by wowlua where no documentation describes the entry.