UARBlueprintLibrary::LineTraceTrackedObjects

Perform a line trace against any real-world geometry as tracked by the AR system.

Windows
MacOS
Linux

References

Module

AugmentedReality

Header

/Engine/Source/Runtime/AugmentedReality/Public/ARBlueprintLibrary.h

Include

#include "ARBlueprintLibrary.h"

Source

/Engine/Source/Runtime/AugmentedReality/Private/ARBlueprintLibrary.cpp

Syntax

static TArray< FARTraceResult > LineTraceTrackedObjects
(
    const FVector2D ScreenCoord,
    bool bTestFeaturePoints,
    bool bTestGroundPlane,
    bool bTestPlaneExtents,
    bool bTestPlaneBoundaryPolygon
)

Remarks

Perform a line trace against any real-world geometry as tracked by the AR system.

Returns

a list of `FARTraceResult_ sorted by distance from camera.

Parameters

Parameter

Description

ScreenCoord

Coordinate of the point on the screen from which to cast a ray into the tracking space.

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