SlotIcon - SFX-WoW/Masque GitHub Wiki
The SlotIcon region is a custom texture that serves as a replacement for the Icon region that was removed from the Backpack in Dragonflight.
Notes
- This region is only available to the
Backpackbutton type in Retail.
The following is a list of attributes available to this region and their default values.
| Attribute | Default |
|---|---|
Anchor |
- |
BlendMode |
BLEND |
Color |
1, 1, 1, 1 |
DrawLayer |
ARTWORK |
DrawLevel |
-1 |
Height |
36 |
Hide |
true |
OffsetX |
0 |
OffsetY |
0 |
Mask |
- |
Point |
CENTER |
RelPoint |
CENTER |
SetAllPoints |
false |
TexCoords |
0, 1, 0, 1 |
Texture |
nil |
Width |
36 |
Notes
- These are the values used by Masque for the Backpack button in the Blizzard Modern skin and may not reflect the default values of the base game.
The following is a list of methods that are used by Masque to apply skin settings to this region.
| Method |
|---|
AddMaskTexture |
ClearAllPoints |
Hide |
RemoveMaskTexture |
SetBlendMode |
SetDrawLayer |
SetParent |
SetPoint |
SetSize |
SetTexCoord |
SetTexture |
SetVertexColor |
Show |
Due to the custom nature of this region, use Masque's GetSlotIcon API method to gain access to it.