/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h
Fetches all the components of ActorClass's CDO, including the ones added via the BP editor (whichAActor.GetComponentsfails to do for CDOs).
static void GetActorClassDefaultComponents ( const [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< [AActor](API\Runtime\Engine\GameFramework\AActor) > & InActorClass, const [TSubclassOf](API\Runtime\CoreUObject\Templates\TSubclassOf)< [UActorComponent](API\Runtime\Engine\Components\UActorComponent) > & InComponentClass, [TArray](API\Runtime\Core\Containers\TArray)< const [UActorComponent](API\Runtime\Engine\Components\UActorComponent) * > & OutComponents )