URigHierarchy::Traverse

Helper function to traverse the hierarchy from the root