Choose your operating system:
Windows
macOS
Linux
| FViewport::VirtualDesktopPixelToViewport()
|
Module |
|
Header |
/Engine/Source/Runtime/Engine/Public/Slate/SceneViewport.h |
Include |
#include "Slate/SceneViewport.h" |
Source |
/Engine/Source/Runtime/Engine/Private/Slate/SceneViewport.cpp |
Transforms a virtual desktop pixel (the origin is in the primary screen's top left corner) to the local space of this viewport
The transformed pixel. It is normalized to the range [0, 1]
Parameter |
Description |
---|---|
VirtualDesktopPointPx |
Coordinate on the virtual desktop in pixel units. Desktop is considered virtual because multiple monitors are supported. |