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()

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback