Garry's Mod Wiki

Revision Difference

DImageButton:SetMaterial#554189

<function name="SetMaterial" parent="DImageButton" type="panelfunc"> <ispanel>yes</ispanel>⤶ <description>Sets a <page>Global.Material</page> directly as an image. Equivalent of <page>DImage:SetMaterial</page>.</description> <realm>Client and Menu</realm> <args> <arg name="mat" type="IMaterial">The material to set</arg> </args> </function>