Files
wow_Meta/api/SetPortraitToTexture.lua
2025-05-04 15:15:00 +02:00

8 lines
466 B
Lua

---@diagnostic disable: missing-return, lowercase-global
---@meta
---@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