Garry's Mod Wiki

Revision Difference

ImageCheckBox:SetMaterial#511755

<function name="SetMaterial" parent="ImageCheckBox" type="panelfunc">⤶ <ispanel>yes</ispanel>⤶ <description>⤶ Sets the material that will be visible when the <page>ImageCheckBox</page> is checked.⤶ ⤶ Internally calls <page>Material:SetMaterial</page>.⤶ ⤶ <note>Will error if no material was set.</note>⤶ </description>⤶ <file line="4">lua/vgui/imagecheckbox.lua</file>⤶ <realm>Client</realm>⤶ <args>⤶ <arg name="mat" type="string">The file path of the material to set (relative to &quot;garrysmod/materials/&quot;).</arg>⤶ </args>⤶ </function>⤶ ⤶