Garry's Mod Wiki

Garry's Mod Wiki

  DButton:SetMaterial( IMaterial img = nil )

Description

Sets an image to be displayed as the button's background.

See DButton:SetImage for equivalent function that uses file paths instead. Also see DImageButton.

Arguments

1 IMaterial img = nil
The material to use. If this is nil, the image background is removed.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...