getScreenFromWorldPosition

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

      getScreenFromWorldPosition
      getWorldFromScreenPosition
        gta.aspectRatio
        gta.height
        gta.width