Garry's Mod Wiki

ImageCheckBox:SetMaterial

  ImageCheckBox:SetMaterial( string mat )

Description

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

Internally calls Material:SetMaterial.

Will error if no material was set.

Arguments

1 string mat
The file path of the material to set (relative to "garrysmod/materials/").