FSceneView::ScreenToPixel

Transforms a point from the view's screen-space into pixel coordinates relative to the view's X,Y.

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/SceneView.h

Include

#include "SceneView.h"

Source

/Engine/Source/Runtime/Engine/Private/SceneView.cpp

Syntax

bool ScreenToPixel
(
    const FVector4 & ScreenPoint,
    FVector2D & OutPixelLocation
) const

Remarks

Transforms a point from the view's screen-space into pixel coordinates relative to the view's X,Y.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss