Garry's Mod Wiki

Revision Difference

DImage:SetMaterial#550271

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