Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
Advertisement

Needs summary.

widgetInfo = C_UIWidgetManager.GetUnitPowerBarWidgetVisualizationInfo(widgetID)

Arguments[]

widgetID
number - Returned from UPDATE_UI_WIDGET and C_UIWidgetManager.GetAllWidgetsBySetID()

Returns[]

widgetInfo
UnitPowerBarWidgetVisualizationInfo?
Field Type Description
shownState Enum.WidgetShownState
barMin number
barMax number
barValue number
tooltip string
barValueTextType Enum.StatusBarValueTextType
overrideBarText string
overrideBarTextShownType Enum.StatusBarOverrideBarTextShownType
tooltipLoc Enum.UIWidgetTooltipLocation
fillMotionType Enum.UIWidgetMotionType
flashBlendModeType Enum.UIWidgetBlendModeType
sparkBlendModeType Enum.UIWidgetBlendModeType
flashMomentType Enum.WidgetUnitPowerBarFlashMomentType
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.StatusBarValueTextType
Value Field Description
0 Hidden
1 Percentage
2 Value
3 Time
4 TimeShowOneLevelOnly
5 ValueOverMax
6 ValueOverMaxNormalized Added in 8.1.5
Enum.StatusBarOverrideBarTextShownType
Value Field Description
0 Never
1 Always
2 OnlyOnMouseover
3 OnlyNotOnMouseover
Enum.UIWidgetTooltipLocation
Value Field Description
0 Default
1 BottomLeft
2 Left
3 TopLeft
4 Top
5 TopRight
6 Right
7 BottomRight
8 Bottom
Enum.UIWidgetMotionType
Value Field Description
0 Instant
1 Smooth
Enum.UIWidgetBlendModeType
Value Field Description
0 Opaque
1 Additive
Enum.WidgetUnitPowerBarFlashMomentType
Value Field Description
0 FlashWhenMax
1 FlashWhenMin
2 NeverFlash
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[]

Shadowlands Patch 9.2.0 (2022-02-22): Added.

Advertisement