8 lines
		
	
	
		
			369 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
		
			369 B
		
	
	
	
		
			Lua
		
	
	
	
	
	
---@diagnostic disable: missing-return, lowercase-global
 | 
						|
 | 
						|
---@param texture table
 | 
						|
---@param unit string
 | 
						|
---@param slot number
 | 
						|
---Sets a Texture object to display the icon of an equipped item. Adapts the square item icon texture to fit within the circular "portrait" frames used in many default UI elements.
 | 
						|
function SetInventoryPortraitTexture(texture, unit, slot) end
 |