/Engine/Plugins/Animation/ControlRig/Source/ControlRig/Public/Rigs/RigHierarchy.h
Helper function to traverse the hierarchy from the root
void Traverse ( [TFunction](API\Runtime\Core\GenericPlatform\TFunction)< void([FRigBaseElement](API\Plugins\ControlRig\Rigs\FRigBaseElement) *, bool &)> PerElementFunction, bool bTowardsChildren ) const