Garry's Mod Wiki

DImageButton:SetMaterial

  DImageButton:SetMaterial( IMaterial mat )

Description

Sets a Material directly as an image. Equivalent of DImage:SetMaterial.

Arguments

1 IMaterial mat
The material to set