getScreenFromWorldPosition

From GTA Connected
(Redirected from GetScreenFromWorldPosition)
Jump to navigation Jump to search

Function Client Only icon-iii.png icon-vc.png icon-sa.png icon-iv.png Online and Offline

Available since Client 1.0.0

Vec3 getScreenFromWorldPosition(Vec3 worldPosition)

The getScreenFromWorldPosition function is used to fetch the screen position of a world position.

Parameters

1) Vec3 worldPosition The 3D world position to fetch the 3D screen position for.

Return

Vec3 A 3D vector, representing a screen position.

Notes

There aren't any notes for this function.

Examples

There aren't any examples for this function.

Compatibility

  • This function was previously named game.getScreenFromWorldPosition in client version 1.0.71.

Related

Client Related

icon-iii.png icon-vc.png icon-sa.png getScreenFromWorldPosition
icon-iii.png icon-vc.png icon-sa.png getWorldFromScreenPosition
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.aspectRatio
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.height
icon-iii.png icon-vc.png icon-sa.png icon-iv.png gta.width