AHUD::Deproject

Transforms a 2D screen location into a 3D location and direction

Windows
MacOS
Linux

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Classes/GameFramework/HUD.h

Include

#include "GameFramework/HUD.h"

Source

/Engine/Source/Runtime/Engine/Private/HUD.cpp

Syntax

void Deproject
(
    float ScreenX,
    float ScreenY,
    FVector & WorldPosition,
    FVector & WorldDirection
) const

Remarks

Transforms a 2D screen location into a 3D location and direction

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