/Engine/Source/Runtime/UMG/Public/Blueprint/WidgetLayoutLibrary.h
Convert a World Space 3D position into a 2D Widget Screen Space position, with distance from the camera the Z component. This takes into account any quality scaling as well.
true if the world coordinate was successfully projected to the screen.
static bool ProjectWorldLocationToWidgetPositionWithDistance ( [APlayerController](API\Runtime\Engine\GameFramework\APlayerController) * PlayerController, FVector WorldLocation, FVector & ScreenPosition, bool bPlayerViewportRelative )