FARSystemProxy::OnLineTraceTrackedObjects

Trace all the tracked geometries and determine which have been hit by a ray cast from `ScreenCoord_.

Windows
MacOS
Linux

Override Hierarchy

IARSystemSupport::OnLineTraceTrackedObjects()

FARSystemProxy::OnLineTraceTrackedObjects()

References

Module

RemoteSession

Header

/Engine/Plugins/Experimental/RemoteSession/Source/RemoteSession/Public/Channels/RemoteSessionARSystemChannel.h

Include

#include "Channels/RemoteSessionARSystemChannel.h"

Syntax

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

Returns

a list of all the geometries that were hit, sorted by distance

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