Navigation
API > API/Runtime > API/Runtime/AugmentedReality > API/Runtime/AugmentedReality/UARBlueprintLibrary
References
| Module | AugmentedReality |
| Header | /Engine/Source/Runtime/AugmentedReality/Public/ARBlueprintLibrary.h |
| Include | #include "ARBlueprintLibrary.h" |
| Source | /Engine/Source/Runtime/AugmentedReality/Private/ARBlueprintLibrary.cpp |
UFUNCTION (BlueprintCallable, Category="AR AugmentedReality|Trace Result",
Meta=(AdvancedDisplay="1", Keywords="ar augmentedreality augmented reality tracking tracing linetrace"))
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. a list of `FARTraceResult_ sorted by distance from camera.
Parameters
| Name | Description |
|---|---|
| ScreenCoord | Coordinate of the point on the screen from which to cast a ray into the tracking space. |