UEnvQueryTest_Pathfinding

Windows
MacOS
Linux

Inheritance Hierarchy

References

Module

AIModule

Header

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

Include

#include "EnvironmentQuery/Tests/EnvQueryTest_Pathfinding.h"

Syntax

class UEnvQueryTest_Pathfinding : public UEnvQueryTest

Variables

Name Description

Public variable

TSubclassOf< UE...

 

Context

Context: other end of pathfinding test

Public variable

TSubclassOf< UN...

 

FilterClass

Navigation filter to use in pathfinding

Public variable

FAIDataProvider...

 

PathFromContext

Pathfinding direction

Public variable

FAIDataProvider...

 

SkipUnreachable

If set, items with failed path will be invalidated (PathCost, PathLength)

Public variable

TEnumAsByte< EE...

 

TestMode

Testing mode

Constructors

Name Description

Public function

UEnvQueryTest_Pathfinding

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function Const

ANavigationD...

 

FindNavigationData

(
    UNavigationSystemV1& NavSys,
    UObject* Owner
)

Protected function Const

float

 

FindPathCostFrom

(
    const FVector& ItemPos,
    const FVector& ContextPos,
    EPathFindingMode::Type Mode,
    const ANavigationData& NavData,
    UNavigationSystemV1& NavSys,
    FSharedConstNavQueryFilter NavFilte...,
    const UObject* PathOwner
)

Protected function Const

float

 

FindPathCostTo

(
    const FVector& ItemPos,
    const FVector& ContextPos,
    EPathFindingMode::Type Mode,
    const ANavigationData& NavData,
    UNavigationSystemV1& NavSys,
    FSharedConstNavQueryFilter NavFilte...,
    const UObject* PathOwner
)

Protected function Const

float

 

FindPathLengthFrom

(
    const FVector& ItemPos,
    const FVector& ContextPos,
    EPathFindingMode::Type Mode,
    const ANavigationData& NavData,
    UNavigationSystemV1& NavSys,
    FSharedConstNavQueryFilter NavFilte...,
    const UObject* PathOwner
)

Protected function Const

float

 

FindPathLengthTo

(
    const FVector& ItemPos,
    const FVector& ContextPos,
    EPathFindingMode::Type Mode,
    const ANavigationData& NavData,
    UNavigationSystemV1& NavSys,
    FSharedConstNavQueryFilter NavFilte...,
    const UObject* PathOwner
)

Protected function Const

bool

 

TestPathFrom

(
    const FVector& ItemPos,
    const FVector& ContextPos,
    EPathFindingMode::Type Mode,
    const ANavigationData& NavData,
    UNavigationSystemV1& NavSys,
    FSharedConstNavQueryFilter NavFilte...,
    const UObject* PathOwner
)

Protected function Const

bool

 

TestPathTo

(
    const FVector& ItemPos,
    const FVector& ContextPos,
    EPathFindingMode::Type Mode,
    const ANavigationData& NavData,
    UNavigationSystemV1& NavSys,
    FSharedConstNavQueryFilter NavFilte...,
    const UObject* PathOwner
)

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

 

PostEditChangeProperty

(
    FPropertyChangedEvent& PropertyCha...
)

Update test properties after changing mode

Public function Virtual

void

 

PostLoad()

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

Typedefs

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