Choose your operating system:
Windows
macOS
Linux
| FViewport::ViewportToVirtualDesktopPixel()
|
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 coordinate in the local space of this viewport into a virtual desktop pixel.
the transformed coordinate. It is in virtual desktop pixels.
Parameter |
Description |
---|---|
ViewportCoordiante |
Normalized coordniate in the rate [0..1]; (0,0) is upper left and (1,1) is lower right. |