Garry's Mod Wiki

Revision Difference

DImageButton:SetMaterial#513605

<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</realm>⤶ <args>⤶ <arg name="mat" type="IMaterial">The material to set</arg>⤶ </args>⤶ </function>⤶ ⤶