Garry's Mod Wiki

DTree_Node:ExpandRecurse

  DTree_Node:ExpandRecurse( boolean expand )

Description

Expands or collapses this node, as well as ALL child nodes of this node.

Works opposite of DTree_Node:ExpandTo.

Arguments

1 boolean expand
Whether to expand (true) or collapse (false)