Just Cause 2: Multiplayer
Website
Home
/
Lua
/
Client
/
Render
/
Functions
/
WorldToScreen
Returns
Vector2
, boolean
Prototype
Render:WorldToScreen(
Vector3
world_position
)
Description
Transforms a position in the world into a screen position.
Additional Notes
The resulting position is clamped to the screen area.
The boolean indicates whether the resulting position would be visible on the screen or not.