DImage.GetMaterial
From GMod Wiki
| Function | |
| Syntax | DImage:GetMaterial( ) |
| Description: | |
| Returns the material used by the image. | |
| Returns: | Material |
| In Object: | DImage |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DImage.GetMaterial]DImage.GetMaterial [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
| Description | Returns the material used by the image. |
|---|---|
| Used on | |
| Code | local DImage = vgui.Create( "DImage" ) print(DImage:GetMaterial()) |
| Output | Returns "Material" in the console. |