tree (PackedTree) : root (Occurrence) [optional] : Specify the root occurrence of the scene replaceRoot (Bool) [optional] : If true, the root occurrence will be replaced by the root of the given tree, else it will be added as a child
Return value
occurrences (OccurrenceList) : Create occurrences (equivalent to tree.occurrences)