Lore archive · Warcraft Wiki, 2023 dump
API TextureBase SetGradient
Last wiki revision 2023-08-19
Sets a gradient color shading for the texture. TextureBase:SetGradient(orientation, minColor, maxColor)
- orientation:
- - Start color on the left, end color on the right.
- - Start color at the bottom, end color at the top.
- minColor: - The starting color; requires alpha.
- maxColor: - The ending color; requires alpha.
- Gradient color shading does not change the underlying color of the texture image, but acts as a filter; see for details.
Sets the gradient vertically (bottom to top) from yellow to blue.
Sets the gradient horizontally (left to right) from yellow to blue.
Source
https://warcraft.wiki.gg/wiki/API_TextureBase_SetGradient · 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.