Method GetSubTree
GetSubTree(uint, VisibilityMode, int)
Returns a packed version of the whole scene tree
Declaration
public PackedTree GetSubTree(uint root = 0, VisibilityMode visibilityMode = VisibilityMode.Hide, int depth = -1)
Parameters
Type | Name | Description |
---|---|---|
uint | root | Specify the root of the returned scene |
VisibilityMode | visibilityMode | The visibility mode |
int | depth | Maximum depth |
Returns
Type | Description |
---|---|
PackedTree |