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