Garry's Mod Wiki

MatSelect:SelectMaterial

  MatSelect:SelectMaterial( DImageButton mat )

Description

This is used internally - although you're able to use it you probably shouldn't. Use MatSelect:FindAndSelectMaterial instead.

Selects a given material panel.

Arguments

1 DImageButton mat
The material to select, found by MatSelect:FindMaterialByValue