/Engine/Source/Runtime/Engine/Classes/GameFramework/Actor.h
Get the component of ActorClass's CDO that matches the given object name. Will consider all components, including the ones added via the BP editor (whichAActor.GetComponentsfails to do for CDOs).
static const [UActorComponent](API\Runtime\Engine\Components\UActorComponent) * GetActorClassDefaultComponentByName ( 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, [FName](API\Runtime\Core\UObject\FName) InComponentName )