How can i get HitResult from FTraceHandle?

When i was looking through the RoboRecall code i found this:



// async trace, will get results next frame
CurrentLOSTraceHandle = World->AsyncLineTraceByChannel(EAsyncTraceType::Single, TraceStart, TraceEnd, ECC_Visibility, Params, ResponseParams, &LOSTraceCompleteDelegate);


And i was woundering how to get the HitResult data from FTraceHandle ?

Solution:


GetWorld()->QueryTraceData(InTraceHandle, OutTraceDatum)