AHUD::Deproject

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

Choose your operating system:

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