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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback