Navigation
API > API/Plugins > API/Plugins/GeoReferencingEditor > API/Plugins/GeoReferencingEditor/UGeoReferencingEditorBPLibrary
Description
Retrieve the Viewport-Space position of the mouse in the Level Editor Viewport. If the Level editor not are in focus it will return false.
| Name | GetViewportCursorLocation |
| Type | function |
| Header File | /Engine/Plugins/Runtime/GeoReferencing/Source/GeoReferencingEditor/Public/GeoReferencingEditorBPLibrary.h |
| Include Path | #include "GeoReferencingEditorBPLibrary.h" |
| Source | /Engine/Plugins/Runtime/GeoReferencing/Source/GeoReferencingEditor/Private/GeoReferencingEditorBPLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="GeoReferencing|Utilities")
static void GetViewportCursorLocation
(
bool & Focused,
FVector2D & ScreenLocation
)
Parameters
| Name | Remarks |
|---|---|
| Focused | If the Level editor not are in focus it will return false. |
| ScreenLocation | The screen location result. |