ARCore Line Trace

Traces a ray from the user's device in the direction of the given location in the camera
view. Intersections with detected scene geometry are returned sorted by distance from the
device; the nearest intersection is returned first.

Target is Google ARCore Frame Function Library

ARCore Line Trace

Screen Position

Trace Channels

None

Out Hit Results

Return Value

Inputs

In

Exec

Screen Position

Vector 2D Structure (by ref)

The position on the screen to cast the ray from.

Trace Channels

Set of EGoogleARCoreLineTraceChannel Enums

A set of EGoogleARCoreLineTraceChannel indicate which type of line trace it should perform.