Graphics::screen2dToWorld3d: Difference between revisions

From RAGE Multiplayer Wiki
No edit summary
No edit summary
Line 4: Line 4:
mp.game.graphics.screen2dToWorld3d(x, y[, test]);</syntaxhighlight>
mp.game.graphics.screen2dToWorld3d(x, y[, test]);</syntaxhighlight>
=== Required Arguments ===
=== Required Arguments ===
*'''x:''' int
*'''Vector3:''' 2d coord
*'''y:''' int
===Return value===
===Return value===
*'''position:''' Vector3
*'''position:''' Vector3

Revision as of 15:20, 27 July 2018

Returns world position from screen position

Syntax

mp.game.graphics.screen2dToWorld3d(x, y[, test]);

Required Arguments

  • Vector3: 2d coord

Return value

  • position: Vector3

Example

// todo

See also