Navigation
API > API/Runtime > API/Runtime/AIModule > API/Runtime/AIModule/EnvironmentQuery > API/Runtime/AIModule/EnvironmentQuery/Tests
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- UEnvQueryNode
- UEnvQueryTest
- UEnvQueryTest_Pathfinding
- UEnvQueryTest_PathfindingBatch
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
| Type | Name | Description | |
|---|---|---|---|
| TSubclassOf< UEnvQueryContext > | Context | Context: other end of pathfinding test | |
| TSubclassOf< UNavigationQueryFilter > | FilterClass | Navigation filter to use in pathfinding | |
| FAIDataProviderBoolValue | PathFromContext | Pathfinding direction | |
| FAIDataProviderBoolValue | SkipUnreachable | If set, items with failed path will be invalidated (PathCost, PathLength) | |
| TEnumAsByte< EEnvTestPathfinding::Type > | TestMode | Testing mode |
Constructors
| Type | Name | Description | |
|---|---|---|---|
UEnvQueryTest_Pathfinding
(
const FObjectInitializer& ObjectInitializer |
Functions
| Type | Name | Description | |
|---|---|---|---|
| ANavigationData * | FindNavigationData
(
UNavigationSystemV1& NavSys, |
||
| float | FindPathCostFrom
(
const FVector& ItemPos, |
||
| float | FindPathCostTo
(
const FVector& ItemPos, |
||
| float | FindPathLengthFrom
(
const FVector& ItemPos, |
||
| float | FindPathLengthTo
(
const FVector& ItemPos, |
||
| TSubclassOf< UNavigationQueryFilter > | GetNavFilterClass
(
FEnvQueryInstance& QueryInstance |
||
| bool | TestPathFrom
(
const FVector& ItemPos, |
||
| bool | TestPathTo
(
const FVector& ItemPos, |
Overridden from UEnvQueryTest
| Type | Name | Description | |
|---|---|---|---|
| void | RunTest
(
FEnvQueryInstance& QueryInstance |
Function that does the actual work |
Overridden from UEnvQueryNode
Overridden from UObject
| Type | Name | Description | |
|---|---|---|---|
| void | PostEditChangeProperty
(
FPropertyChangedEvent& PropertyChangedEvent |
Update test properties after changing mode | |
| void | PostLoad () |
Do any object-specific cleanup required immediately after loading an object. |
Typedefs
| Name | Description |
|---|---|
| FFindPathSignature | |
| FTestPathSignature |