getPosVisual: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " |r1=[[" to " |r1= [[")
mNo edit summary
Line 8: Line 8:
|gr2= Render Time Scope
|gr2= Render Time Scope


|descr= Returns an object's rendered [[Position|3D position]] (z value above sea when over sea, or above ground when over land) in render time scope. Alias of [[visiblePosition]].
|descr= Returns an object's [[Position#PositionAGLS|AGLS position]] in render time scope. Alias of [[visiblePosition]].


|s1= [[getPosVisual]] object
|s1= [[getPosVisual]] object

Revision as of 14:26, 10 August 2021

Hover & click on the images for description

Description

Description:
Returns an object's AGLS position in render time scope. Alias of visiblePosition.
Groups:
Object ManipulationRender Time Scope

Syntax

Syntax:
getPosVisual object
Parameters:
object: Object: - name of the object
Return Value:
Array - format PositionAGLS

Examples

Example 1:
_playerRenderedPos = getPosVisual player;

Additional Information

See also:
getPosASLVisualgetPosATLVisualvisiblePositionASLvisiblePositionpositiongetPosgetPosATLgetPosASLgetPosASLW

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