AsyncTraceData

Contains all Async Trace Result for one frame.

Windows
MacOS
Linux

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

Name Description

Public variable

FGraphEventArra...

 

AsyncTraceCompletionEvent

Thread completion event for batch

Public variable

bool

 

bAsyncAllowed

If Execution is all done, set this to be true

Public variable

int32

 

NumQueuedOverlapData

Datum entries in OverlapData are persistent for efficiency.

Public variable

int32

 

NumQueuedTraceData

Datum entries in TraceData are persistent for efficiency.

Public variable

TArray< TUnique...

 

OverlapData

Public variable

TArray< TUnique...

 

TraceData

Data Buffer for each trace type - one for Trace/Sweep and one for Overlap

Constructors

Name Description

Public function

AsyncTraceData()

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