UEnvQueryTest_Trace

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

AIModule

Header

/Engine/Source/Runtime/AIModule/Classes/EnvironmentQuery/Tests/EnvQueryTest_Trace.h

Include

#include "EnvironmentQuery/Tests/EnvQueryTest_Trace.h"

Syntax

class UEnvQueryTest_Trace : public UEnvQueryTest

Variables

Name Description

Public variable

TSubclassOf< UE...

 

Context

Context: other end of trace test

Public variable

FAIDataProvider...

 

ContextHeightOffset

Z offset from querier

Public variable

FAIDataProvider...

 

ItemHeightOffset

Z offset from item

Public variable

FEnvTraceData

 

TraceData

Trace data

Public variable

FAIDataProvider...

 

TraceFromContext

Trace direction

Constructors

Name Description

Public function

UEnvQueryTest_Trace

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function

bool

 

RunBoxTraceFrom

(
    const FVector& ItemPos,
    const FVector& ContextPos,
    AActor* ItemActor,
    UWorld* World,
    enum ECollisionChannel Channel,
    const FCollisionQueryParams& Param...,
    const FVector& Extent
)

Protected function

bool

 

RunBoxTraceTo

(
    const FVector& ItemPos,
    const FVector& ContextPos,
    AActor* ItemActor,
    UWorld* World,
    enum ECollisionChannel Channel,
    const FCollisionQueryParams& Param...,
    const FVector& Extent
)

Protected function

bool

 

RunCapsuleTraceFrom

(
    const FVector& ItemPos,
    const FVector& ContextPos,
    AActor* ItemActor,
    UWorld* World,
    enum ECollisionChannel Channel,
    const FCollisionQueryParams& Param...,
    const FVector& Extent
)

Protected function

bool

 

RunCapsuleTraceTo

(
    const FVector& ItemPos,
    const FVector& ContextPos,
    AActor* ItemActor,
    UWorld* World,
    enum ECollisionChannel Channel,
    const FCollisionQueryParams& Param...,
    const FVector& Extent
)

Protected function

bool

 

RunLineTraceFrom

(
    const FVector& ItemPos,
    const FVector& ContextPos,
    AActor* ItemActor,
    UWorld* World,
    enum ECollisionChannel Channel,
    const FCollisionQueryParams& Param...,
    const FVector& Extent
)

Protected function

bool

 

RunLineTraceTo

(
    const FVector& ItemPos,
    const FVector& ContextPos,
    AActor* ItemActor,
    UWorld* World,
    enum ECollisionChannel Channel,
    const FCollisionQueryParams& Param...,
    const FVector& Extent
)

Protected function

bool

 

RunSphereTraceFrom

(
    const FVector& ItemPos,
    const FVector& ContextPos,
    AActor* ItemActor,
    UWorld* World,
    enum ECollisionChannel Channel,
    const FCollisionQueryParams& Param...,
    const FVector& Extent
)

Protected function

bool

 

RunSphereTraceTo

(
    const FVector& ItemPos,
    const FVector& ContextPos,
    AActor* ItemActor,
    UWorld* World,
    enum ECollisionChannel Channel,
    const FCollisionQueryParams& Param...,
    const FVector& Extent
)

Overridden from UEnvQueryTest

Name Description

Public function Virtual Const

void

 

RunTest

(
    FEnvQueryInstance& QueryInstance
)

Function that does the actual work

Overridden from UEnvQueryNode

Overridden from UObject

Name Description

Public function Virtual

void

 

PostLoad()

Do any object-specific cleanup required immediately after loading an object.

Typedefs

Name

Description

FRunTraceSignature