ARHitTest

Description

Casts a ray into the real world scene and detects any hits with planes or tracking points detected in the world. Returns the number of hits detected, the hits will be ordered with the closest first. The coordinates should be in screen space, for example the values returned from GetPointerX and GetPointerY. When you are finished checking the results of this hit test you should call ARHitTestFinish to release any used resources. If not then this will be done automatically when you next call ARHitTest.

Definition

integer ARHitTest( screenX, screenY )

Parameters