 |
Automated updating of API pages at this location, to reflect patch changes, has ceased from 10.1.7 onwards.
|
Needs summary.
widgetInfo = C_UIWidgetManager.GetSpellDisplayVisualizationInfo(widgetID)
Arguments[]
- widgetID
- number - Returned from UPDATE_UI_WIDGET and C_UIWidgetManager.GetAllWidgetsBySetID()
Returns[]
- widgetInfo
- SpellDisplayVisualizationInfo?
| Field |
Type |
Description
|
| shownState |
Enum.WidgetShownState |
|
| enabledState |
Enum.WidgetEnabledState |
|
| spellInfo |
UIWidgetSpellInfo |
|
| tooltipLoc |
Enum.UIWidgetTooltipLocation |
|
| widgetSizeSetting |
number |
|
| textureKit |
string |
|
| frameTextureKit |
string |
|
| hasTimer |
boolean |
|
| orderIndex |
number |
|
| widgetTag |
string |
|
| inAnimType |
Enum.WidgetAnimationType |
|
| outAnimType |
Enum.WidgetAnimationType |
|
| widgetScale |
Enum.UIWidgetScale |
|
| layoutDirection |
Enum.UIWidgetLayoutDirection |
|
| modelSceneLayer |
Enum.UIWidgetModelSceneLayer |
|
| scriptedAnimationEffectID |
number |
|
Enum.WidgetShownState
| Value |
Field |
Description
|
| 0 |
Hidden |
|
| 1 |
Shown |
|
Enum.WidgetEnabledState
| Value |
Field |
Description
|
| 0 |
Disabled |
|
| 1 |
Yellow |
Renamed from Enabled in 10.1.0
|
| 2 |
Red |
|
| 3 |
White |
Added in 9.1.0
|
| 4 |
Green |
Added in 9.1.0
|
| 5 |
Artifact |
Renamed from Gold in 10.1.0
|
| 6 |
Black |
Added in 9.2.0
|
UIWidgetSpellInfo
| Field |
Type |
Description
|
| spellID |
number |
|
| tooltip |
string |
|
| text |
string |
|
| stackDisplay |
number |
|
| iconSizeType |
Enum.WidgetIconSizeType |
|
| iconDisplayType |
Enum.SpellDisplayIconDisplayType |
|
| textShownState |
Enum.SpellDisplayTextShownStateType |
Added in 9.0.1
|
| borderColor |
Enum.SpellDisplayBorderColor |
Added in 10.0.0
|
| textFontType |
Enum.UIWidgetFontType |
Added in 9.2.5
|
| textSizeType |
Enum.UIWidgetTextSizeType |
Added in 9.2.5
|
| hAlignType |
Enum.WidgetTextHorizontalAlignmentType |
Added in 9.2.5
|
| isLootObject |
boolean |
Added in 10.0.0
|
|
Enum.WidgetIconSizeType
| Value |
Field |
Description
|
| 0 |
Small |
|
| 1 |
Medium |
|
| 2 |
Large |
|
| 3 |
Standard |
|
Enum.SpellDisplayIconSizeType
| Value |
Field |
Description
|
| 0 |
Small |
|
| 1 |
Medium |
|
| 2 |
Large |
|
Enum.SpellDisplayIconDisplayType
| Value |
Field |
Description
|
| 0 |
Buff |
|
| 1 |
Debuff |
|
| 2 |
Circular |
Added in 9.0.1
|
| 3 |
NoBorder |
Added in 9.2.0
|
Enum.SpellDisplayTextShownStateType
| Value |
Field |
Description
|
| 0 |
Shown |
|
| 1 |
Hidden |
|
|
Enum.UIWidgetFontType
| Value |
Field |
Description
|
| 0 |
Normal |
|
| 1 |
Shadow |
|
| 2 |
Outline |
|
Enum.UIWidgetTextSizeType
| Value |
Field |
Description
|
| 0 |
Small12Pt |
|
| 1 |
Medium16Pt |
|
| 2 |
Large24Pt |
|
| 3 |
Huge27Pt |
|
| 4 |
Standard14Pt |
|
| 5 |
Small10Pt |
|
| 6 |
Small11Pt |
|
| 7 |
Medium18Pt |
|
| 8 |
Large20Pt |
|
Enum.WidgetTextHorizontalAlignmentType
| Value |
Field |
Description
|
| 0 |
Left |
|
| 1 |
Center |
|
| 2 |
Right |
|
Enum.UIWidgetTooltipLocation
| Value |
Field |
Description
|
| 0 |
Default |
|
| 1 |
BottomLeft |
|
| 2 |
Left |
|
| 3 |
TopLeft |
|
| 4 |
Top |
|
| 5 |
TopRight |
|
| 6 |
Right |
|
| 7 |
BottomRight |
|
| 8 |
Bottom |
|
Enum.WidgetAnimationType
| Value |
Field |
Description
|
| 0 |
None |
|
| 1 |
Fade |
|
Enum.UIWidgetScale
| Value |
Field |
Description
|
| 0 |
OneHundred |
|
| 1 |
Ninty |
|
| 2 |
Eighty |
|
| 3 |
Seventy |
|
| 4 |
Sixty |
|
| 5 |
Fifty |
|
Enum.UIWidgetLayoutDirection
| Value |
Field |
Description
|
| 0 |
Default |
|
| 1 |
Vertical |
|
| 2 |
Horizontal |
|
| 3 |
Overlap |
|
| 4 |
HorizontalForceNewRow |
|
Enum.UIWidgetModelSceneLayer
| Value |
Field |
Description
|
| 0 |
None |
|
| 1 |
Front |
|
| 2 |
Back |
|
Patch changes[]
Patch 9.1.0 (2021-06-29): Added tooltipLoc, modelSceneLayer, scriptedAnimationEffectID fields.
Patch 9.0.1 (2020-10-13): Added textureKit, frameTextureKit, widgetScale, layoutDirection.
Patch 8.2.0 (2019-06-25): Added widgetSizeSetting, textureKitID, frameTextureKitID, inAnimType, outAnimType fields.
Patch 8.1.0 (2018-12-11): Added.