Panel:GetHTMLMaterial
Description
Returns the panel's HTML material. Only works with Awesomium, HTML and DHTML panels that have been fully loaded.
Returns
1 IMaterial
The HTML material used by the panel. Typically starts with
__vgui_texture_
followed by an incremental number.Example
Defines a new entity which can display a web page on a TV screen.
Output: ![](//files.facepunch.com/wiki/files/Panel_GetHTMLMaterial_example1.gif)
![](http://files.facepunch.com/wiki/files/Panel_GetHTMLMaterial_example1.gif)