Garry's Mod Wiki

DImage:SetMatName

  DImage:SetMatName( string mat )

Description

This is used internally - although you're able to use it you probably shouldn't.

Sets the material to be loaded when the image is first rendered. Used by DImage:SetOnViewMaterial.

Arguments

1 string mat