Deproject

Deproject

Windows
MacOS
Linux

Performs a deprojection of a screen space coordinate using the projection matrix set up for the Canvas.

Target is Canvas

Deproject
Target
Select Asset
Screen Position
X0.0
Y0.0
World Origin
X0
Y 0
Z 0
World Direction
X0
Y 0
Z 0

Inputs

In
Exec
Target
Canvas Object Reference
Screen Position
Vector 2D Structure

Screen space position to deproject to the World.

Outputs

Out
Exec
World Origin
Vector

Vector which is the world position of the screen space position.

World Direction
Vector

Vector which can be used in a trace to determine what is "behind" the screen space position. Useful for object picking.

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