GetPlayerViewPoint() blueprint analogue?

Hello, fellow developers

PlayerController->GetPlayerViewPoint() analogue in blueprint, that’s what I am looking for

Maybe, its a little bit silly question, excuse for my lack of knowledge, new to c++ in unreal

Pls, help

Solved this problem by creating a BlueprintCallable UFUNCTION from c++ and calling it in its child BP

This is the function implementation from cpp file if anyone wonders


void ABaseActorCpp::GetPlayerViewPointBP(APlayerController* PC, FVector& OutLoc, FRotator& OutRot) const
{ if (PC)
{
  [INDENT=2]PC->GetPlayerViewPoint(OutLoc, OutRot);[/INDENT]
  }
 

 }