Cooldown:SetBlingTexture
Jump to navigation
Jump to search
Assign a texture for the brief animation after a cooldown finishes.
Cooldown:SetBlingTexture(texture, colorR, colorG, colorB, colorA)
Arguments
- texture
- string : FileAsset - Path or FileID to a texture image. Set to an empty string
""
for creating a solid color texture. - colorR
- number? - Triggered by passing an empty string to create a solid color texture like Texture:SetColorTexture()
- colorG
- number?
- colorB
- number?
- colorA
- number?
Details
- Unlike Cooldown:SetSwipeColor(), there is no equivalent
SetBlingColor()
to control how the bling is tinted when a texture is used. - The bling texture is not parented by either the cooldown nor the cooldown's parent. Consequently, it ignores effective alpha and can appear even when the cooldown would ordinarily be transparent.
Patch changes
- Patch 6.0.2 (2014-10-14): Added.