Files
wow-weakauras/Meta/api/SetPortraitToTexture.lua
2024-11-07 23:12:37 +01:00

6 lines
463 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@param frameName string
---@param texturePath string
---Sets a Texture object to display an arbitrary texture, altering it to fit a circular frame. Used in the default UI to display square textures (such as item icons) within the circular "portrait" frames used in many default UI elements. Caveat: The texture must be of the BLP format.
function SetPortraitToTexture(frameName, texturePath) end