screenToWorld: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " | }}" to " }}")
m (Text replacement - "(\|p[0-9]+ *= * )+" to "")
Line 12: Line 12:


|p1= screen: [[Array]] - Screen position [x,y] (see [[SafeZone]] for more info)
|p1= screen: [[Array]] - Screen position [x,y] (see [[SafeZone]] for more info)
|p2=
|p3=


| [[Array]] - [[PositionAGL]], world position on surface [x,y,0]
| [[Array]] - [[PositionAGL]], world position on surface [x,y,0]

Revision as of 00:07, 17 February 2021

Hover & click on the images for description

Description

Description:
Description needed
Groups:
Positions

Syntax

Syntax:
Syntax needed
Parameters:
screen: Array - Screen position [x,y] (see SafeZone for more info)
Return Value:
Return value needed

Examples

Example 1:
_wPos = screenToWorld [0.5,0.5];

Additional Information

See also:
See also needed

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