Navigation
API > API/Runtime > API/Runtime/Engine > API/Runtime/Engine/FSceneView
Description
Transforms a point from the view's world-space into pixel coordinates relative to the view's X,Y (left, top).
Transforms a point from the view's world-space into pixel coordinates relative to the view's X,Y.
| Name | WorldToPixel |
| Type | function |
| Header File | /Engine/Source/Runtime/Engine/Public/SceneView.h |
| Include Path | #include "SceneView.h" |
| Source | /Engine/Source/Runtime/Engine/Private/SceneView.cpp |
bool WorldToPixel
(
const FVector & WorldPoint,
FVector2D & OutPixelLocation
) const