DImage.GetMaterial

From GMod Wiki

Jump to: navigation, search
Function
Syntax DImage:GetMaterial( )
Description:
Returns the material used by the image.
Returns: Material
In Object: DImage
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=DImage.GetMaterial]DImage.GetMaterial [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionReturns the material used by the image.
Used onNewerClient.png
Code
local DImage = vgui.Create( "DImage" )
print(DImage:GetMaterial())
OutputReturns "Material" in the console.


See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox