ue4 set view target with blend c++
#include "SetViewTargetBlend.h"
// include gameplay statics header file
#include "Kismet/GameplayStatics.h"
// Called when the game starts or when spawned
void ASetViewTargetBlend::BeginPlay()
{
Super::BeginPlay();
//Find the actor that handles control for the local player.
APlayerController* OurPlayerController = UGameplayStatics::GetPlayerController(this, 0);
}