ImageCheckBox/SetMaterial

From Garry's Mod
Jump to: navigation, search
 ImageCheckBox:SetMaterial( )

DescriptionPanelFunc

Sets the material that will be visible when the ImageCheckBox is checked.

Internally calls Material:SetMaterial.

NOTE

Will error if no material was set.

Arguments

string mat

The file path of the material to set (relative to "garrysmod/materials/").
Personal tools
Navigation