https://wowpedia.fandom.com/wiki/API_TextureBase_SetTexture
摘要:
TextureBase:SetTexture([textureAsset, wrapModeHorizontal, wrapModeVertical, filterMode])
textureAsset - A FileID or the file path to a texture.
local tex = UIParent:CreateTexture()
tex:SetPoint("CENTER")
tex:SetTexture(134532) -- interface/icons/inv_mushroom_11
tex:SetTexture("Interface/ContainerFrame/UI-Icon-QuestBang")
tex:SetSize(64, 64)
- 本文固定链接: https://www.fengshen.cn/2023/11/api-texturebasesettexture/
- 转载请注明: fengshen 发表于 一梦风神
觉得文章有用,微信打赏一元。
