7 lines
457 B
Lua
7 lines
457 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
|