Skip to content
everloot

Lore archive · Warcraft Wiki, 2023 dump

API Frame CreateTexture

Last wiki revision 2023-08-17

Creates a texture. texture = Frame:CreateTexture([name, drawLayer, templateName, subLevel])

  • name: - The global variable name that will be assigned, or for an anonymous texture.
  • drawLayer: - The layer the texture should be drawn in.
  • templateName: - Comma-delimited list of names of virtual textures (created in XML) to inherit from.
  • subLevel: - The level of the sublayer if textures overlap.
  • texture: - The new texture object as a child of this frame.

Shows a semi-transparent yellow texture.

Source

https://warcraft.wiki.gg/wiki/API_Frame_CreateTexture · 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.