ITexture.GetName
From GMod Wiki
| Function | |
| Syntax | Texture:GetName( ) |
| Description: | |
| Gets the path of the texture. | |
| Returns: | String |
| In Object: | iTexture |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=ITexture.GetName]ITexture.GetName [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Outputs the name of the base Texture for the 1st players spray. |
|---|---|
| Used on | |
| Code | Material( "Decals/playerlogo01" ):GetMaterialTexture( "$basetexture" ):GetName() |
| Output | "decals/YBlood1" |