Project World To Viewport
Transforms a 3D world position to viewport space coordinates in centimeters. Returns a vector3 where Left is the horizontal viewport coordinate (positive is rightward from the screen's top-left corner) and Up is the vertical viewport coordinate (positive is upward, so a point below the top of the screen has a negative Up). Forward is always 0 because viewport coordinates are 2D. Fails if the world position is behind the camera.
Verse using statement |
using { /Verse.org/Input } |
(Player:player).ProjectWorldToViewport<public><native>(WorldPosition:vector3):vector3
Parameters
ProjectWorldToViewport takes the following parameters:
| Name | Type | Description |
|---|---|---|
Player |
player |
|
WorldPosition |
vector3 |
Attributes, Specifiers, and Effects
The following attributes, specifiers, and effects determine how you can interact with ProjectWorldToViewport in your programs, as well as how it behaves in your programs and UEFN. For the complete list of attributes, specifiers, and effects; see the Specifiers Page.
You're reading a preview
The full reference is free for BrainDeadGuild Discord members — sign in to read it all, or open the original at the source.
Sign in with your BrainDead.TV / BrainDeadGuild Discord account for full access.