- You can get it easily using
UGameplayStatics::GetPlayerCameraManager
- Doesn’t exist in some editor modes, such as in Simulate
- In that case, you can use
GetWorld()->ViewLocationsRenderedLastFrame[0]
or such
- In that case, you can use
Search
UGameplayStatics::GetPlayerCameraManager
GetWorld()->ViewLocationsRenderedLastFrame[0]
or such