Garry's Mod Wiki

Revision Difference

DImage:SetMaterial#554178

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