Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/GameFramework > API/Runtime/Engine/GameFramework/APlayerController
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Classes/GameFramework/PlayerController.h |
| Include | #include "GameFramework/PlayerController.h" |
bool ProjectWorldLocationToScreenWithDistance
(
FVector WorldLocation,
FVector & ScreenLocation,
bool bPlayerViewportRelative
) const
Remarks
Convert a World Space 3D position into a 3D Screen Space position. true if the world coordinate was successfully projected to the screen.