Region Type
Default Configuration
Functions
Color
Sets the color and alpha of the icon texture.Red color component (0-1)
Green color component (0-1)
Blue color component (0-1)
Alpha transparency (0-1)
ColorAnim
Sets animated color values that override the base color during animations.Red color component (0-1)
Green color component (0-1)
Blue color component (0-1)
Alpha transparency (0-1)
GetColor
Returns the current color values of the icon.Red color component (0-1)
Green color component (0-1)
Blue color component (0-1)
Alpha transparency (0-1)
SetIcon
Sets the icon texture path manually.Path to the texture file or spell ID
SetIconSource
Sets which trigger state’s icon to display.Icon source: -1 for current state, 0 for manual icon, or trigger number
UpdateIcon
Updates the displayed icon based on current icon source and state.Scale
Scales the icon region by the given factors.Horizontal scale factor (negative values mirror horizontally)
Vertical scale factor (negative values mirror vertically)
SetDesaturated
Converts the icon to grayscale when enabled.true to desaturate (grayscale), false for full color
SetRegionWidth
Sets the base width of the icon region.Width in pixels
SetRegionHeight
Sets the base height of the icon region.Height in pixels
SetCooldownEdge
Enables or disables the edge highlight on the cooldown spiral.true to show cooldown edge, false to hide
SetZoom
Zooms the icon texture by cropping.Zoom amount (0-1, where 0 is no zoom and 1 is maximum zoom)
SetInverse
Inverts the cooldown spiral direction.true to invert spiral direction
UpdateValue
Updates the cooldown display based on progress value (value/total).UpdateTime
Updates the cooldown display based on duration and expiration time.Update
Refreshes the entire icon region including progress and icon texture.PreShow
Called before the region is shown to initialize the cooldown.SetGlow
Shows or hides all subglow subregions.true to show glow, false to hide
Properties
Properties that can be dynamically changed via custom code or conditions.| Property | Type | Setter | Description |
|---|---|---|---|
| desaturate | boolean | SetDesaturated | Grayscale mode |
| width | number | SetRegionWidth | Icon width in pixels |
| height | number | SetRegionHeight | Icon height in pixels |
| color | color | Color | RGBA color values |
| inverse | boolean | SetInverse | Invert cooldown spiral |
| cooldownEdge | boolean | SetCooldownEdge | Show cooldown edge |
| zoom | number | SetZoom | Zoom amount (0-1) |
| iconSource | number | SetIconSource | Icon source trigger |
| displayIcon | icon | SetIcon | Manual icon texture |
State Values
The icon region reads these values from the trigger state:state.icon- Icon texture path or spell IDstate.value- Current progress valuestate.total- Total progress valuestate.duration- Cooldown durationstate.expirationTime- Cooldown expiration timestate.inverse- Invert cooldown directionstate.paused- Pause cooldown animation