getWorldFromScreenPosition

Revision as of 19:40, 4 October 2019 by Mex (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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

      getScreenFromWorldPosition
      getWorldFromScreenPosition
        gta.aspectRatio
        gta.height
        gta.width