Navigation
API > API/Runtime > API/Runtime/Engine
Inheritance Hierarchy
- FNoncopyable
- AsyncTraceData
References
| Module | Engine |
| Header | /Engine/Source/Runtime/Engine/Public/WorldCollision.h |
| Include | #include "WorldCollision.h" |
Syntax
struct AsyncTraceData : public FNoncopyable
Remarks
Contains all Async Trace Result for one frame.
We use double buffer for trace data pool. FrameNumber % 2 = is going to be the one collecting NEW data Check FWorldAsyncTraceState to see how this is used. For now it is only double buffer, but it can be more.
Variables
| Type | Name | Description | |
|---|---|---|---|
| FGraphEventArray | AsyncTraceCompletionEvent | Thread completion event for batch | |
| bool | bAsyncAllowed | If Execution is all done, set this to be true | |
| bool | bAsyncTasksCompleted | ||
| int32 | NumQueuedOverlapData | Datum entries in OverlapData are persistent for efficiency. | |
| int32 | NumQueuedTraceData | Datum entries in TraceData are persistent for efficiency. | |
| TArray< TUniquePtr< TTraceThreadData< FOverlapDatum > > > | OverlapData | ||
| TArray< TUniquePtr< TTraceThreadData< FTraceDatum > > > | TraceData | Data Buffer for each trace type - one for Trace/Sweep and one for Overlap |
Constructors
| Type | Name | Description | |
|---|---|---|---|
Destructors
| Type | Name | Description | |
|---|---|---|---|