getWorldFromScreenPosition
(Redirected from GetWorldFromScreenPosition)
Function
Client Only
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