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" |
| Source | /Engine/Source/Runtime/Engine/Private/PlayerController.cpp |
bool DeprojectScreenPositionToWorld
&40;
float ScreenX,
float ScreenY,
FVector & WorldLocation,
FVector & WorldDirection
&41; const
Remarks
Convert 2D screen position to World Space 3D position and direction. Returns false if unable to determine value.