About: API Texture GetTexture   Sponge Permalink

An Entity of Type : owl:Thing, within Data Space : 134.155.108.49:8890 associated with source dataset(s)

Returns the texture string from any Texture object. Arguments none Returns texture : String - The path/filename without extension of the texture * If a SetPortraitTexture(texture,unit) is performed on a texture, then it will return "Portrait1" * If the texture only contains a solid color (that is, no texture file), then it will return "Solid Texture" Example /script message(ActionButton1Icon:GetTexture()) Result Interface\Icons\INV_Mace_07 Notes * If a :SetTexture(nil) is performed on a texture, then it will return nil. * If a :SetTexture("missing image") is performed on a texture, it will return nil. * The "Solid Texture" return for a missing image has been removed as of 1.10. Use the return of SetTexture to determine if a texture exists.

AttributesValues
rdfs:label
  • API Texture GetTexture
rdfs:comment
  • Returns the texture string from any Texture object. Arguments none Returns texture : String - The path/filename without extension of the texture * If a SetPortraitTexture(texture,unit) is performed on a texture, then it will return "Portrait1" * If the texture only contains a solid color (that is, no texture file), then it will return "Solid Texture" Example /script message(ActionButton1Icon:GetTexture()) Result Interface\Icons\INV_Mace_07 Notes * If a :SetTexture(nil) is performed on a texture, then it will return nil. * If a :SetTexture("missing image") is performed on a texture, it will return nil. * The "Solid Texture" return for a missing image has been removed as of 1.10. Use the return of SetTexture to determine if a texture exists.
dbkwik:wowwiki/pro...iPageUsesTemplate
abstract
  • Returns the texture string from any Texture object. Arguments none Returns texture : String - The path/filename without extension of the texture * If a SetPortraitTexture(texture,unit) is performed on a texture, then it will return "Portrait1" * If the texture only contains a solid color (that is, no texture file), then it will return "Solid Texture" Example /script message(ActionButton1Icon:GetTexture()) Result Interface\Icons\INV_Mace_07 Notes * If a :SetTexture(nil) is performed on a texture, then it will return nil. * If a :SetTexture("missing image") is performed on a texture, it will return nil. * The "Solid Texture" return for a missing image has been removed as of 1.10. Use the return of SetTexture to determine if a texture exists.
Alternative Linked Data Views: ODE     Raw Data in: CXML | CSV | RDF ( N-Triples N3/Turtle JSON XML ) | OData ( Atom JSON ) | Microdata ( JSON HTML) | JSON-LD    About   
This material is Open Knowledge   W3C Semantic Web Technology [RDF Data] Valid XHTML + RDFa
OpenLink Virtuoso version 07.20.3217, on Linux (x86_64-pc-linux-gnu), Standard Edition
Data on this page belongs to its respective rights holders.
Virtuoso Faceted Browser Copyright © 2009-2012 OpenLink Software