Trace/Sweep Data structure for async trace 更多...
#include <WorldCollision.h>
类 FTraceDatum 继承关系图:Public 成员函数 | |
| FTraceDatum (UWorld *World, const FCollisionShape &CollisionShape, const FCollisionQueryParams &Param, const struct FCollisionResponseParams &InResponseParam, const struct FCollisionObjectQueryParams &InObjectQueryParam, ECollisionChannel Channel, uint32 InUserData, EAsyncTraceType InTraceType, const FVector &InStart, const FVector &InEnd, const FQuat &InRot, FTraceDelegate *InDelegate, int32 FrameCounter) | |
| Set Trace Datum for each shape type | |
Public 成员函数 继承自 FBaseTraceDatum | |
| void | Set (UWorld *World, const FCollisionShape &InCollisionShape, const FCollisionQueryParams &Param, const struct FCollisionResponseParams &InResponseParam, const struct FCollisionObjectQueryParams &InObjectQueryParam, ECollisionChannel Channel, uint32 InUserData, int32 FrameCounter) |
| Set functions for each Shape type | |
Public 属性 | |
| FTraceDelegate | Delegate |
| Delegate to be set if you want Delegate to be called when the output is available. 更多... | |
| TArray< struct FHitResult > | OutHits |
| Output of the overlap request. 更多... | |
| FVector | Start |
| Input of the trace/sweep request. 更多... | |
| EAsyncTraceType | TraceType |
| Whether to do test, single or multi test | |
Public 属性 继承自 FBaseTraceDatum | |
| FCollisionParameters | CollisionParams |
| Collection of collision parameters | |
| uint32 | FrameNumber |
| Framecount when requested is made | |
| TWeakObjectPtr< UWorld > | PhysWorld |
| Physics World this trace will run in | |
| ECollisionChannel | TraceChannel |
| Collsion Trace Channel that this trace is running | |
| uint32 | UserData |
| User data | |
Trace/Sweep Data structure for async trace
This saves request information by main thread and result will be filled up by worker thread
| FTraceDelegate FTraceDatum::Delegate |
Delegate to be set if you want Delegate to be called when the output is available.
Filled up by requester (main thread)
| TArray<struct FHitResult> FTraceDatum::OutHits |
Output of the overlap request.
Filled up by worker thread
| FVector FTraceDatum::Start |
Input of the trace/sweep request.
Filled up by main thread
Start/End of the trace The Shape is defined in FBaseTraceDatum