Region
object type16 methodsavailable in: camelot
It has every method of ScriptRegion, ScriptRegionResizing and AnimatableObject, plus 16 of its own.
Inherits from
- Region · 16
- ScriptRegion · 55
- ScriptRegionResizing · 13
- AnimatableObject · 3
- Object · 5
- 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.
| method | what it does | status |
|---|---|---|
GetAlpha | Returns the region's opacity. · warcraft.wiki.gg ↗(): number | implemented |
GetDrawLayer | Returns the layer in which the region is drawn. · warcraft.wiki.gg ↗(): (DrawLayer, number) | recorded |
GetEffectiveScale | Returns the effective scale of the region. · warcraft.wiki.gg ↗(): number | implemented |
GetScale | Returns the scale of the region. · warcraft.wiki.gg ↗(): number | implemented |
GetVertexColor | Returns the vertex color shading of the region. · warcraft.wiki.gg ↗(): (number?, number?, number?, number?) | implemented |
IsIgnoringParentAlpha | Returns true if the region is ignoring parent alpha. · warcraft.wiki.gg ↗(): boolean | implemented |
IsIgnoringParentScale | Returns true if the region is ignoring parent scale. · warcraft.wiki.gg ↗(): boolean | implemented |
IsObjectLoaded | Returns true if the region is fully loaded. · warcraft.wiki.gg ↗(): boolean | recorded |
SetAlpha | Sets the opacity of the region. · warcraft.wiki.gg ↗(alpha: number) | implemented |
SetAlphaFromBoolean | Sets 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 |
SetDrawLayer | Sets the layer in which the region is drawn. · warcraft.wiki.gg ↗(layer: DrawLayer, sublevel: number) | implemented |
SetIgnoreParentAlpha | Sets whether the region should ignore its parent's alpha. · warcraft.wiki.gg ↗(ignore: boolean) | implemented |
SetIgnoreParentScale | Sets whether the region should ignore its parent's scale. · warcraft.wiki.gg ↗(ignore: boolean) | implemented |
SetScale | Sets the size scaling of the region. · warcraft.wiki.gg ↗(scale: number) | implemented |
SetVertexColor | Sets the vertex shading color of the region. · warcraft.wiki.gg ↗(colorR: number, colorG: number, colorB: number, a: number?) | implemented |
SetVertexColorFromBoolean | Sets 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.