Navigation
API > API/Runtime > API/Runtime/AugmentedReality
A result of an intersection found during a hit-test.
| Name | FARTraceResult |
| Type | struct |
| Header File | /Engine/Source/Runtime/AugmentedReality/Public/ARTraceResult.h |
| Include Path | #include "ARTraceResult.h" |
Syntax
USTRUCT (BlueprintType , Category="AR AugmentedReality", Meta=(Experimental))
struct FARTraceResult
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| ARTraceResult.h | |||
FARTraceResult
(
const TSharedPtr< FARSupportInterface, ESPMode::ThreadSafe >& InARSystem, |
ARTraceResult.h |
Structs
| Name | Remarks |
|---|---|
| FARTraceResultComparer |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ARSystem | TSharedPtr< FARSupportInterface, ESPMode::ThreadSafe > | A reference to the AR system that creates this hit test result. | ARTraceResult.h | |
| DistanceFromCamera | float | Distance (in Unreal Units) between the camera and the point where the line trace contacted tracked geometry. | ARTraceResult.h | |
| LocalTransform | FTransform | The transformation matrix that defines the intersection's rotation, translation and scale in AR system's local space. | ARTraceResult.h | |
| TraceChannel | EARLineTraceChannels | The trace channel that generated this trace result. (used for filtering) | ARTraceResult.h | |
| TrackedGeometry | TObjectPtr< UARTrackedGeometry > | A pointer to the geometry data that was intersected by this trace, if any. | ARTraceResult.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
float GetDistanceFromCamera() |
ARTraceResult.h | ||
FTransform GetLocalToTrackingTransform() |
ARTraceResult.h | ||
FTransform GetLocalToWorldTransform() |
ARTraceResult.h | ||
FTransform GetLocalTransform() |
ARTraceResult.h | ||
EARLineTraceChannels GetTraceChannel() |
ARTraceResult.h | ||
UARTrackedGeometry * GetTrackedGeometry() |
ARTraceResult.h | ||
void SetLocalToWorldTransform
(
const FTransform& LocalToWorldTransform |
ARTraceResult.h |