FTraceDatum

Trace/Sweep Data structure for async trace

Windows
MacOS
Linux

Inheritance Hierarchy

FBaseTraceDatum

FTraceDatum

References

Module

Engine

Header

/Engine/Source/Runtime/Engine/Public/WorldCollision.h

Include

#include "WorldCollision.h"

Syntax

struct FTraceDatum : public FBaseTraceDatum

Remarks

Trace/Sweep Data structure for async trace

This saves request information by main thread and result will be filled up by worker thread

Variables

Name Description

Public variable

FTraceDelegate

 

Delegate

Delegate to be set if you want Delegate to be called when the output is available.

Public variable

FVector

 

End

Public variable

TArray< struct ...

 

OutHits

Output of the overlap request. Filled up by worker thread

Public variable

FVector

 

Start

Input of the trace/sweep request.

Public variable

EAsyncTraceType

 

TraceType

Whether to do test, single or multi test

Constructors

Name Description

Public function

FTraceDatum()

Public function

FTraceDatum

(
    UWorld* World,
    const FCollisionShape& CollisionSh...,
    const FCollisionQueryParams& Param,
    const FCollisionResponseParams& In...,
    const FCollisionObjectQueryParams&...,
    ECollisionChannel Channel,
    uint32 InUserData,
    EAsyncTraceType InTraceType,
    const FVector& InStart,
    const FVector& InEnd,
    FTraceDelegate* InDelegate,
    int32 FrameCounter
)

Set Trace Datum for each shape type

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