FSceneView::WorldToPixel

Transforms a point from the view's world-space into pixel coordinates relative to the view's X,Y (left, top).

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 WorldToPixel
(
    const FVector & WorldPoint,
    FVector2D & OutPixelLocation
) const

Remarks

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.

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