World of Warcraft Forever API · SimpleColorSelectAPI.md, for your AI
SimpleColorSelectAPI (widget methods)
19 functions, as Blizzard documents them for Forever 1.60.1 (70959).
Making an addon with an AI? Tell it: Read https://wowaddons.gg/agents.md, then make me a World of Warcraft Forever addon that …, try it with me in the game, and publish it. It checks every call against this API before you try it in the game, then publishes it here. How it works.
Functions
ClearColorWheelTexture
self:ClearColorWheelTexture()
GetColorAlpha
alpha = self:GetColorAlpha()
Returns
alpha | number |
|---|
GetColorAlphaTexture
texture = self:GetColorAlphaTexture()
Returns
texture | SimpleTexture |
|---|
GetColorAlphaThumbTexture
texture = self:GetColorAlphaThumbTexture()
Returns
texture | SimpleTexture |
|---|
GetColorHSV
hsvX, hsvY, hsvZ = self:GetColorHSV()
Returns
hsvX | number | |
|---|---|---|
hsvY | number | |
hsvZ | number |
GetColorRGB
rgbR, rgbG, rgbB = self:GetColorRGB()
Returns
rgbR | number | |
|---|---|---|
rgbG | number | |
rgbB | number |
GetColorValueTexture
texture = self:GetColorValueTexture()
Returns
texture | SimpleTexture |
|---|
GetColorValueThumbTexture
texture = self:GetColorValueThumbTexture()
Returns
texture | SimpleTexture |
|---|
GetColorWheelTexture
texture = self:GetColorWheelTexture()
Returns
texture | SimpleTexture |
|---|
GetColorWheelThumbTexture
texture = self:GetColorWheelThumbTexture()
Returns
texture | SimpleTexture |
|---|
SetColorAlpha
self:SetColorAlpha(alpha)
Arguments
alpha | number |
|---|
SetColorAlphaTexture
self:SetColorAlphaTexture(texture)
Arguments
texture | SimpleTexture |
|---|
SetColorAlphaThumbTexture
self:SetColorAlphaThumbTexture(texture)
Arguments
texture | TextureAsset |
|---|
SetColorHSV
self:SetColorHSV(hsvX, hsvY, hsvZ)
Arguments
hsvX | number | |
|---|---|---|
hsvY | number | |
hsvZ | number |
SetColorRGB
self:SetColorRGB(rgbR, rgbG, rgbB)
Arguments
rgbR | number | |
|---|---|---|
rgbG | number | |
rgbB | number |
SetColorValueTexture
self:SetColorValueTexture(texture)
Arguments
texture | SimpleTexture |
|---|
SetColorValueThumbTexture
self:SetColorValueThumbTexture(texture)
Arguments
texture | TextureAsset |
|---|
SetColorWheelTexture
self:SetColorWheelTexture(texture)
Arguments
texture | SimpleTexture |
|---|
SetColorWheelThumbTexture
self:SetColorWheelThumbTexture(texture)
Arguments
texture | TextureAsset |
|---|