Navigation
API > API/Runtime > API/Runtime/Engine
Trace/Sweep Data structure for async trace
This saves request information by main thread and result will be filled up by worker thread
| Name | FTraceDatum |
| Type | struct |
| Header File | /Engine/Source/Runtime/Engine/Public/WorldCollision.h |
| Include Path | #include "WorldCollision.h" |
Syntax
struct FTraceDatum : public FBaseTraceDatum
Inheritance Hierarchy
- FBaseTraceDatum → FTraceDatum
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FTraceDatum () |
WorldCollision.h | ||
FTraceDatum
(
UWorld* World, |
Set Trace Datum for each shape type | WorldCollision.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| Delegate | FTraceDelegate | Delegate to be set if you want Delegate to be called when the output is available. | WorldCollision.h | |
| End | FVector | WorldCollision.h | ||
| OutHits | TArray< struct FHitResult > | Output of the overlap request. Filled up by worker thread | WorldCollision.h | |
| Rot | FQuat | WorldCollision.h | ||
| Start | FVector | Input of the trace/sweep request. | WorldCollision.h | |
| TraceType | EAsyncTraceType | Whether to do test, single or multi test | WorldCollision.h |