View Single Post
05-07-21, 08:12 AM   #6
rulezyx
A Flamescale Wyrmkin
 
rulezyx's Avatar
Join Date: Jan 2020
Posts: 106
Ok I get that and I am able to change the color but I want to completely get rid of the gradient (make it matt/clean and green as before/not white) which seems to be a bit tricky.

I only found:
Texture:SetGradient(orientation, minR, minG, minB, maxR, maxG, maxB)
Texture:SetGradientAlpha(orientation, minR, minG, minB, minA, maxR, maxG, maxB, maxA)
and your post related to it: https://www.wowinterface.com/forums/...ad.php?t=32696

So according to that I guess it should be a pattern like:

frame.myHealPrediction:SetGradient("VERTICAL", 0, 0, 1, 0, 0, 1, 0)
appears to be just blue and:
frame.myHealPrediction:SetGradient("VERTICAL", 0, 1, 1, 0, 1, 1, 0)
appears to be a rly light blue but I am still confused and it doesnt matter how high I set the values.

I am able to make it completely black with just zeros like just ones for white but without changing the first digit (orientation) theres only blue, black and white?

Last edited by rulezyx : 05-07-21 at 08:52 AM.
  Reply With Quote