getWorldFromScreenPosition: Difference between revisions

From GTA Connected
Jump to navigation Jump to search
No edit summary
 
(No difference)

Latest revision as of 19:40, 4 October 2019

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 getWorldFromScreenPosition(Vec3 screenPosition)

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

Parameters

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

Return

Vec3 A 3D vector, representing a world 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.getWorldFromScreenPosition 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