Navigation
API > API/Plugins > API/Plugins/AvalancheViewport > API/Plugins/AvalancheViewport/IAvaViewportClient
Description
Use the absolute mouse position on the viewport and the zoom settings to return the position of that point. Viewport offset and aspect ratio clamping are ignored.
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.
| Name | GetUnconstrainedZoomedViewportMousePosition |
| Type | function |
| Header File | /Engine/Plugins/VirtualProduction/Avalanche/Source/AvalancheViewport/Public/ViewportClient/IAvaViewportClient.h |
| Include Path | #include "ViewportClient/IAvaViewportClient.h" |
FVector2f GetUnconstrainedZoomedViewportMousePosition() const