Project World to Screen

Project World to Screen

Windows
MacOS
Linux

Transforms the given 3D world-space point into a its 2D screen space coordinate.

Target is Gameplay Statics

Project World to Screen
Player
World Position
X0
Y 0
Z 0
Player Viewport Relative
Screen Position
X0.0
Y0.0
Return Value

Inputs

Player
Player Controller Object Reference

Project using this player's view.

World Position
Vector (by ref)

World position to project.

Player Viewport Relative
Boolean

Should this be relative to the player viewport subregion (useful when using player attached widgets in split screen)

Outputs

Screen Position
Vector 2D Structure

(out) Corresponding 2D position in screen space

Return Value
Boolean

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