Lore archive · Warcraft Wiki, 2023 dump
API Cooldown SetSwipeTexture
Last wiki revision 2021-06-27
Assign a texture for the swipe of the cooldown. Cooldown:SetSwipeTexture(file or fileDataID [, r, g, b, a])
- file : - See ; however, set to an empty string for creating a solid color texture.
- fileID : - Alternative using fileID.
- r, g, b, a : - Triggered by passing an empty string to create a solid color texture like
- If no SwipeTexture is assigned through XML, both SetSwipeTexture and need to be called for the swipe to show up.
- The provided texture will be used as is, not as a mask. To use alpha, the texture itself needs to contain alpha information. (Not applicable to solid color textures.)
Source
https://warcraft.wiki.gg/wiki/API_Cooldown_SetSwipeTexture · retrieved 2023-11-13 · CC BY-SA 4.0
Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.
This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.