Navigation
Unreal Engine C++ API Reference > Runtime > AugmentedReality > IARSystemSupport > OnLineTraceTrackedObjects
References
Module | AugmentedReality |
Header | /Engine/Source/Runtime/AugmentedReality/Public/ARSystem.h |
Include | #include "ARSystem.h" |
TArray < FARTraceResult > OnLineTraceTrackedObjects
(
const FVector2D ScreenCoord,
EARLineTraceChannels TraceChannels
)
Remarks
Trace all the tracked geometries and determine which have been hit by a ray cast from ScreenCoord_. Only geometries specified in
TraceChannels_ are considered.
a list of all the geometries that were hit, sorted by distance