ARGetHitTestX

Description

Returns the X component of the given hit test result in 3D space. Hit test results are ordered with the closest first, starting at index 1. This point should only be used for a short time, for example to display a particle effect, as it will drift relative to the real world. If you plan to use this 3D point to position a long lived object in the world then you should create an anchor from this hit test result instead so that it doesn't drift.

Definition

float ARGetHitTestX( index )

Parameters