/Engine/Source/Editor/UnrealEd/Public/Subsystems/EditorActorSubsystem.h
Find all loaded ActorComponent own by an actor in the world editor. Exclude actor that are pending kill, in PIE, PreviewEditor, ...
List of found ActorComponent
[TArray](API\Runtime\Core\Containers\TArray)< class [UActorComponent](API\Runtime\Engine\Components\UActorComponent) * > GetAllLevelActorsComponents()