ITexture.GetActualHeight

From GMod Wiki

Jump to: navigation, search
Function
Syntax ITexture:GetActualHeight( )
Description:
Get a VTF's height in pixels.
Returns: Integer
In Object: ITexture
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=ITexture.GetActualHeight]ITexture.GetActualHeight [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionGet a texture's height
Used onNewerClient.png
Code
 
Material( "Decals/playerlogo01" ):GetMaterialTexture( "$basetexture" ):GetActualHeight()
 
Output64
Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox