Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API TextureBase SetAtlas

Last wiki revision 2023-08-16

Sets the texture to an atlas. TextureBase:SetAtlas(atlas [, useAtlasSize, filterMode, resetTexCoords])

  • atlas:
  • useAtlasSize: - True if the size of the texture should be changed to match the dimensions of the atlas.
  • filterMode: - Texture filtering mode to use, one of: (default; bilinear filtering), (also sampling mipmaps), or (nearest-neighbor filtering).
  • resetTexCoords:
  • A texture atlas is technically an image containing multiple smaller images, but the wiki simply refers to those smaller images as atlases.
  • The behavior of this function may be replicated by calling and.

Shows the Paladin class trial icon on the screen This can be referenced in Helix/AtlasInfo.lua ["Interface/Glues/AccountUpgrade/ClassTrialThanksFrame"]={ ["ClassTrial-Paladin-Ring"]={188, 188, 0.186523, 0.370117, 0.339844, 0.523438, false, false},

Source

https://warcraft.wiki.gg/wiki/API_TextureBase_SetAtlas · retrieved 2023-11-13 · CC BY-SA 4.0

Converted from wikitext with templates, tables and images removed, so some sentences may be missing values.

This archive predates WoW: Forever. For collected gameplay facts see the Forever database. Search the archive.