ITexture

From GMod Wiki

Revision as of 07:12, 26 May 2011 by Noiwex (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


A texture object. Attention! If you want to get texture from material use this example:

Material("tools/toolsblack"):GetMaterialTexture("$basetexture")

Using imaterial it provides you interesting results.

Object Methods

NewerClient.png ITexture:__index
NewerClient.png ITexture:Download
NewerClient.png ITexture:GetActualHeight
NewerClient.png ITexture:GetActualWidth
NewerClient.png ITexture:GetMappingHeight
NewerClient.png ITexture:GetMappingWidth
NewerClient.png ITexture:GetName
NewerClient.png ITexture:IsError

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox