Method CreateSubTree
CreateSubTree(PackedTree, uint, bool)
Create a complete scene tree
Declaration
[HandleProcessCorruptedStateExceptions]
public OccurrenceList CreateSubTree(PackedTree tree, uint root = 0, bool replaceRoot = true)
Parameters
| Type | Name | Description | 
|---|---|---|
| PackedTree | tree | |
| uint | root | Specify the root occurrence of the scene  | 
    
| bool | replaceRoot | If true, the root occurrence will be replaced by the root of the given tree, else it will be added as a child  | 
    
Returns
| Type | Description | 
|---|---|
| OccurrenceList |