screenToWorld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (see also: added safezone)
Line 25: Line 25:
____________________________________________________________________________________________
____________________________________________________________________________________________


| [[worldToScreen]]  |= SEEALSO  
| [[SafeZone]], [[worldToScreen]]  |= SEEALSO  


|  |= MPBEHAVIOUR  
|  |= MPBEHAVIOUR  

Revision as of 06:38, 13 September 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:
SafeZoneworldToScreen

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