FTraceDatum

Trace/Sweep Data structure for async trace

Windows
MacOS
Linux

Inheritance Hierarchy

FBaseTraceDatum

FTraceDatum

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

References

Module

Engine

Header

Runtime/Engine/Public/WorldCollision.h

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