API Cooldown SetSwipeTexture

Assign a texture for the swipe of the cooldown. Cooldown:SetSwipeTexture(file or fileDataID [, r, g, b, a])

Arguments

 * 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

Details

 * 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.)