ITexture.GetActualHeight
From GMod Wiki
| Function | |
| Syntax | ITexture:GetActualHeight( ) |
| Description: | |
| Get a VTF's height in pixels. | |
| Returns: | Integer |
| In Object: | ITexture |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=ITexture.GetActualHeight]ITexture.GetActualHeight [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Get a texture's height |
|---|---|
| Used on | |
| Code | Material( "Decals/playerlogo01" ):GetMaterialTexture( "$basetexture" ):GetActualHeight() |
| Output | 64 |