WoW:API Texture SetTexture: Difference between revisions

m
→‎Notes: commas
m (→‎Notes: commas)
Line 19: Line 19:


==Notes==
==Notes==
* If no image is shown, the game will not find image files that did not exist when it was started, you may need to restart the game for the texture to appear.
* The texture has to be cleared or set to solid colour, or anyway changed away from the current file, before tiling can be changed. Hence the following code will fail:
* The texture has to be cleared or set to solid colour, or anyway changed away from the current file, before tiling can be changed. Hence the following code will fail:
  texture:SetTexture("image.tga",true)
  texture:SetTexture("image.tga",true)
  texture:SetTexture("image.tga",false)
  texture:SetTexture("image.tga",false)
Anonymous user