Garry's Mod Wiki

Revision Difference

DImage:SetMatName#550272

<function name="SetMatName" parent="DImage" type="panelfunc"> <ispanel>yes</ispanel> <description> <internal></internal> Sets the material to be loaded when the image is first rendered. Used by <page>DImage:SetOnViewMaterial</page>. </description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ <args> <arg name="mat" type="string"></arg> </args> </function>