Module |
|
Header |
/Engine/Source/Runtime/Engine/Classes/Engine/LocalPlayer.h |
Include |
#include "Engine/LocalPlayer.h" |
Source |
/Engine/Source/Runtime/Engine/Private/LocalPlayer.cpp |
static bool GetPixelPoint
(
const FSceneViewProjectionData & ProjectionData,
const FVector & InPoint,
FVector2D & OutPoint,
const FVector2D * OptionalAllotedSize
)
This function will give you a point in Pixel Space from a World Space position
False if there is no viewport, or if the box is behind the camera completely
Parameter |
Description |
---|---|
InPoint |
The point in world space |
OutPoint |
The point in pixel space |