screenToWorld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
Line 41: Line 41:
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:ArmA 2: New Scripting Commands List|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands ArmA2|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting_Commands_Take_On_Helicopters|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]
[[Category:Scripting Commands|{{uc:{{PAGENAME}}}}]]

Revision as of 12:03, 25 March 2013

Hover & click on the images for description

Description

Description:
Returns the position on landscape (in world coordinates) corresponding to the given point on screen (in UI coordinates).
Groups:
Uncategorised

Syntax

Syntax:
screenToWorld position
Parameters:
position: Array -
Return Value:
Array

Examples

Example 1:
_wPos = screenToWorld [0.5,0.5]

Additional Information

See also:
worldToScreen

Notes

Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note

Notes

Bottom Section