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 view. 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.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback