Garry's Mod Wiki

DTree_Node:SetIcon

  DTree_Node:SetIcon( string path )

Description

Sets the material for the icon of the DTree_Node.

Arguments

1 string path
The path to the material to be used. Do not include "materials/". .pngs are supported.