Files
wow_Meta/api/SetPortraitToTexture.lua
2024-12-16 13:13:08 +01:00

6 lines
458 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