Sets a Texture object to display the icon of one of the player's bags. Adapts the square item icon texture to fit within the circular "portrait" frames used in many default UI elements.
See also Container functions.
texture- A Texture object (
container- Index of one of the player's bags or other containers (
-- Set a texture to the rounded icon of the player's first bag (not the backpack) SetBagPortraitTexture(MyBagTexture, 1)