Navigation
API > API/Plugins > API/Plugins/AvalancheViewport > API/Plugins/AvalancheViewport/ViewportClient > API/Plugins/AvalancheViewport/ViewportClient/IAvaViewportClient
References
| Module | AvalancheViewport |
| Header | /Engine/Plugins/Experimental/Avalanche/Source/AvalancheViewport/Public/ViewportClient/IAvaViewportClient.h |
| Include | #include "ViewportClient/IAvaViewportClient.h" |
FVector2f GetConstrainedZoomedViewportMousePosition() const
Remarks
Use the absolute mouse position on the viewport and the zoom settings to return the position of that point.
E.g. with a zoom of 50% and a viewport resolution of 1000x600. If the mouse is in the far top left corner, the mouse position to resolve to 250x150.