UDocumentation UE5.7 10.02.2026 (Source)
API documentation for Unreal Engine 5.7
FAsyncPathFindingQuery Struct Reference

#include <NavigationData.h>

+ Inheritance diagram for FAsyncPathFindingQuery:

Public Member Functions

 FAsyncPathFindingQuery ()
 
 FAsyncPathFindingQuery (const UObject *InOwner, const ANavigationData &InNavData, const FVector &Start, const FVector &End, const FNavPathQueryDelegate &Delegate, FSharedConstNavQueryFilter SourceQueryFilter, const FVector::FReal CostLimit=TNumericLimits< FVector::FReal >::Max())
 
 FAsyncPathFindingQuery (const FPathFindingQuery &Query, const FNavPathQueryDelegate &Delegate, const EPathFindingMode::Type QueryMode)
 
- Public Member Functions inherited from FPathFindingQuery
 FPathFindingQuery ()
 
NAVIGATIONSYSTEM_API FPathFindingQuery (const UObject *InOwner, const ANavigationData &InNavData, const FVector &Start, const FVector &End, FSharedConstNavQueryFilter SourceQueryFilter=NULL, FNavPathSharedPtr InPathInstanceToFill=NULL, const FVector::FReal CostLimit=TNumericLimits< FVector::FReal >::Max(), const bool bInRequireNavigableEndLocation=true)
 
NAVIGATIONSYSTEM_API FPathFindingQuery (const INavAgentInterface &InNavAgent, const ANavigationData &InNavData, const FVector &Start, const FVector &End, FSharedConstNavQueryFilter SourceQueryFilter=NULL, FNavPathSharedPtr InPathInstanceToFill=NULL, const FVector::FReal CostLimit=TNumericLimits< FVector::FReal >::Max(), const bool bInRequireNavigableEndLocation=true)
 
NAVIGATIONSYSTEM_API FPathFindingQuery (FNavPathSharedRef PathToRecalculate, const ANavigationData *NavDataOverride=NULL)
 
FPathFindingQuerySetPathInstanceToUpdate (FNavPathSharedPtr InPathInstanceToFill)
 
FPathFindingQuerySetAllowPartialPaths (const bool bAllow)
 
FPathFindingQuerySetRequireNavigableEndLocation (const bool bRequire)
 
FPathFindingQuerySetNavAgentProperties (const FNavAgentProperties &InNavAgentProperties)
 
- Public Member Functions inherited from FPathFindingQueryData
 FPathFindingQueryData ()
 
 FPathFindingQueryData (const UObject *InOwner, const FVector &InStartLocation, const FVector &InEndLocation, FSharedConstNavQueryFilter InQueryFilter=nullptr, int32 InNavDataFlags=0, bool bInAllowPartialPaths=true, const FVector::FReal InCostLimit=TNumericLimits< FVector::FReal >::Max(), const bool bInRequireNavigableEndLocation=true)
 

Public Attributes

const uint32 QueryID
 
const FNavPathQueryDelegate OnDoneDelegate
 
const TEnumAsByte< EPathFindingMode::TypeMode
 
FPathFindingResult Result
 
- Public Attributes inherited from FPathFindingQuery
TWeakObjectPtr< const ANavigationDataNavData
 
FNavPathSharedPtr PathInstanceToFill
 
FNavAgentProperties NavAgentProperties
 
- Public Attributes inherited from FPathFindingQueryData
TWeakObjectPtr< const UObjectOwner
 
FVector StartLocation
 
FVector EndLocation
 
FSharedConstNavQueryFilter QueryFilter
 
FVector::FReal CostLimit
 
int32 NavDataFlags
 
uint32 bAllowPartialPaths: 1
 
uint32 bRequireNavigableEndLocation: 1
 

Static Protected Member Functions

static uint32 GetUniqueID ()
 

Static Protected Attributes

static uint32 LastPathFindingUniqueID = INVALID_NAVQUERYID
 

Additional Inherited Members

- Static Public Member Functions inherited from FPathFindingQuery
static NAVIGATIONSYSTEM_API FVector::FReal ComputeCostLimitFromHeuristic (const FVector &StartPos, const FVector &EndPos, const FVector::FReal HeuristicScale, const FVector::FReal CostLimitFactor, const FVector::FReal MinimumCostLimit)
 

Constructor & Destructor Documentation

◆ FAsyncPathFindingQuery() [1/3]

FAsyncPathFindingQuery::FAsyncPathFindingQuery ( )
inline

◆ FAsyncPathFindingQuery() [2/3]

FAsyncPathFindingQuery::FAsyncPathFindingQuery ( const UObject InOwner,
const ANavigationData InNavData,
const FVector Start,
const FVector End,
const FNavPathQueryDelegate Delegate,
FSharedConstNavQueryFilter  SourceQueryFilter,
const FVector::FReal  CostLimit = TNumericLimits<FVector::FReal>::Max() 
)

◆ FAsyncPathFindingQuery() [3/3]

FAsyncPathFindingQuery::FAsyncPathFindingQuery ( const FPathFindingQuery Query,
const FNavPathQueryDelegate Delegate,
const EPathFindingMode::Type  QueryMode 
)

Member Function Documentation

◆ GetUniqueID()

static uint32 FAsyncPathFindingQuery::GetUniqueID ( )
inlinestaticprotected

Member Data Documentation

◆ LastPathFindingUniqueID

uint32 FAsyncPathFindingQuery::LastPathFindingUniqueID = INVALID_NAVQUERYID
staticprotected

◆ Mode

const TEnumAsByte<EPathFindingMode::Type> FAsyncPathFindingQuery::Mode

◆ OnDoneDelegate

const FNavPathQueryDelegate FAsyncPathFindingQuery::OnDoneDelegate

◆ QueryID

const uint32 FAsyncPathFindingQuery::QueryID

◆ Result

FPathFindingResult FAsyncPathFindingQuery::Result

The documentation for this struct was generated from the following files: