ITexture

From GMod Wiki

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