Lumin ARLine Trace

Lumin ARLine Trace

Windows
MacOS
Linux

Traces a ray from the user's device in the direction of the given location in the camera

  1. Intersections with detected scene geometry are returned, sorted by distance from the device; the nearest intersection is returned first.

Target is Lumin ARFrame Function Library

Lumin ARLine Trace
Screen Position
X0.0
Y0.0
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 ELuminARLineTraceChannel 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.

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