ARCore Line Trace Ray

Traces a ray along the given line. Intersections with detected scene geometry are returned sorted by distance from the start of the line; the nearest intersection is returned first.

Target is Google ARCore Frame Function Library

ARCore Line Trace Ray
Start
End
Trace Channels
None
Out Hit Results
Return Value

Inputs

In
Exec
Start
Vector (by ref)
The start of line segment.
End
Vector (by ref)
The end of line segment.
Trace Channels
Set of EGoogleARCoreLineTraceChannel Enums

Outputs

Out
Exec
Out Hit Results
Array of ARTrace Result Structures
The list of hit results sorted by distance.
Return Value
Boolean
True if there is a hit detected.

Send feedback about...