ARCore Line Trace Ray

ARCore Line Trace Ray

Windows
MacOS
Linux

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
X0
Y 0
Z 0
End
X0
Y 0
Z 0
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

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

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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss