/Engine/Source/Runtime/Engine/Classes/Engine/World.h
You can use async trace using following APIs : AsyncLineTrace, AsyncSweep, AsyncOverlap When you use those APIs, it will be saved toAsyncTraceDataFWorldAsyncTraceStatecontains two buffers to rotate each frame as you might need the result in the next frame However, if you do not get the result by next frame, the result will be discarded. Use Delegate if you would like to get the result right away when available.
struct FWorldAsyncTraceState
int32
CurrentFrame
Used as counter for Buffer swap for DataBuffer. Right now it's only 2, but it can change.
AsyncTraceData[...
DataBuffer
Async Trace Data Buffer Array. For now we only saves 2 frames.