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

#include <AbstractNavData.h>

+ Inheritance diagram for FAbstractNavigationPath:

Public Types

typedef FNavigationPath Super
 

Public Member Functions

NAVIGATIONSYSTEM_API FAbstractNavigationPath ()
 
- Public Member Functions inherited from FNavigationPath
 DECLARE_MULTICAST_DELEGATE_TwoParams (FPathObserverDelegate, FNavigationPath *, ENavPathEvent::Type)
 
NAVIGATIONSYSTEM_API FNavigationPath ()
 
NAVIGATIONSYSTEM_API FNavigationPath (const TArray< FVector > &Points, AActor *Base=NULL)
 
virtual NAVIGATIONSYSTEM_API ~FNavigationPath ()
 
PRAGMA_DISABLE_DEPRECATION_WARNINGS FNavigationPath (const FNavigationPath &)=default
 
FNavigationPathoperator= (const FNavigationPath &Other)=default
 
PRAGMA_ENABLE_DEPRECATION_WARNINGS bool IsValid () const
 
bool IsUpToDate () const
 
bool IsReady () const
 
bool IsPartial () const
 
bool DidSearchReachedLimit () const
 
bool IsErrorStartLocationNonNavigable () const
 
bool IsErrorEndLocationNonNavigable () const
 
bool IsWaitingForRepath () const
 
void SetManualRepathWaiting (const bool bInWaitingForRepath)
 
bool ShouldUpdateStartPointOnRepath () const
 
bool ShouldUpdateEndPointOnRepath () const
 
FVector GetDestinationLocation () const
 
FPathObserverDelegateGetObserver ()
 
FDelegateHandle AddObserver (FPathObserverDelegate::FDelegate NewObserver)
 
void RemoveObserver (FDelegateHandle HandleOfObserverToRemove)
 
void MarkReady ()
 
void SetNavigationDataUsed (const ANavigationData *const NewData)
 
ANavigationDataGetNavigationDataUsed () const
 
void SetQuerier (const UObject *InQuerier)
 
const UObjectGetQuerier () const
 
void SetQueryData (const FPathFindingQueryData &QueryData)
 
FPathFindingQueryData GetQueryData () const
 
void SetIsPartial (const bool bPartial)
 
void SetSearchReachedLimit (const bool bLimited)
 
void SetErrorStartLocationNonNavigable (const bool bErrorNonNavigable)
 
void SetErrorEndLocationNonNavigable (const bool bErrorNonNavigable)
 
void SetFilter (FSharedConstNavQueryFilter InFilter)
 
FSharedConstNavQueryFilter GetFilter () const
 
AActorGetBaseActor () const
 
FVector GetStartLocation () const
 
FVector GetEndLocation () const
 
void DoneUpdating (ENavPathUpdateType::Type UpdateType)
 
double GetTimeStamp () const
 
void SetTimeStamp (double TimeStamp)
 
NAVIGATIONSYSTEM_API void Invalidate ()
 
NAVIGATIONSYSTEM_API void RePathFailed ()
 
virtual NAVIGATIONSYSTEM_API void ResetForRepath ()
 
NAVIGATIONSYSTEM_API void RemoveOverlappingPoints (const FVector &Tolerance)
 
virtual NAVIGATIONSYSTEM_API void DebugDraw (const ANavigationData *NavData, const FColor PathColor, class UCanvas *Canvas, const bool bPersistent, const float LifeTime, const uint32 NextPathPointIndex=0) const
 
virtual bool ContainsCustomLink (uint32 UniqueLinkId) const final
 
virtual NAVIGATIONSYSTEM_API bool ContainsCustomLink (FNavLinkId UniqueLinkId) const
 
virtual NAVIGATIONSYSTEM_API bool ContainsAnyCustomLink () const
 
virtual NAVIGATIONSYSTEM_API bool ContainsNode (NavNodeRef NodeRef) const
 
virtual FVector::FReal GetCostFromIndex (int32 PathPointIndex) const
 
virtual FVector::FReal GetCostFromNode (NavNodeRef PathNode) const
 
FVector::FReal GetCost () const
 
virtual NAVIGATIONSYSTEM_API FVector::FReal GetLengthFromPosition (FVector SegmentStart, uint32 NextPathPointIndex) const
 
FVector::FReal GetLength () const
 
const TArray< FNavPathPoint > & GetPathPoints () const
 
TArray< FNavPathPoint > & GetPathPoints ()
 
NAVIGATIONSYSTEM_API FBasedPosition GetPathPointLocation (uint32 Index) const
 
virtual NAVIGATIONSYSTEM_API bool DoesIntersectBox (const FBox &Box, uint32 StartingIndex=0, int32 *IntersectingSegmentIndex=NULL, FVector *AgentExtent=NULL) const
 
virtual NAVIGATIONSYSTEM_API bool DoesIntersectBox (const FBox &Box, const FVector &AgentLocation, uint32 StartingIndex=0, int32 *IntersectingSegmentIndex=NULL, FVector *AgentExtent=NULL) const
 
virtual NAVIGATIONSYSTEM_API FVector GetSegmentDirection (uint32 SegmentEndIndex) const
 
template<typename PathClass >
const PathClassCastPath () const
 
template<typename PathClass >
PathClassCastPath ()
 
NAVIGATIONSYSTEM_API void SetGoalActorObservation (const AActor &ActorToObserve, float TetherDistance)
 
void SetGoalActorTetherDistance (const float NewTetherDistace)
 
NAVIGATIONSYSTEM_API void DisableGoalActorObservation ()
 
NAVIGATIONSYSTEM_API void SetSourceActor (const AActor &InSourceActor)
 
const AActorGetSourceActor () const
 
const INavAgentInterfaceGetSourceActorAsNavAgent () const
 
FVector GetLastRepathGoalLocation () const
 
NAVIGATIONSYSTEM_API void UpdateLastRepathGoalLocation ()
 
double GetLastUpdateTime () const
 
float GetGoalActorTetherDistance () const
 
void EnableRecalculationOnInvalidation (bool bShouldAutoUpdate)
 
bool WillRecalculateOnInvalidation () const
 
void SetIgnoreInvalidation (bool bShouldIgnore)
 
bool GetIgnoreInvalidation () const
 
NAVIGATIONSYSTEM_API EPathObservationResult::Type TickPathObservation ()
 
NAVIGATIONSYSTEM_API FVector GetGoalLocation () const
 
NAVIGATIONSYSTEM_API FVector GetPathFindingStartLocation () const
 
const AActorGetGoalActor () const
 
const INavAgentInterfaceGetGoalActorAsNavAgent () const
 
- Public Member Functions inherited from TSharedFromThis< FNavigationPath, ESPMode::ThreadSafe >
TSharedRef< FNavigationPath, Mode > AsShared ()
 
TSharedRef< FNavigationPath const, Mode > AsShared () const
 
TSharedRef< SubobjectType, Mode > AsSharedSubobject (SubobjectType *SubobjectPtr) const
 
TWeakPtr< FNavigationPath, Mode > AsWeak ()
 
TWeakPtr< FNavigationPath const, Mode > AsWeak () const
 
TWeakPtr< SubobjectType, Mode > AsWeakSubobject (SubobjectType *SubobjectPtr) const
 
void UpdateWeakReferenceInternal (TSharedPtr< SharedPtrType, SharedPtrMode > const *InSharedPtr, OtherType *InObject) const
 
void UpdateWeakReferenceInternal (TSharedRef< SharedRefType, SharedPtrMode > const *InSharedRef, OtherType *InObject) const
 
UE_FORCEINLINE_HINT bool DoesSharedInstanceExist () const
 

Static Public Attributes

static NAVIGATIONSYSTEM_API const FNavPathType Type
 

Additional Inherited Members

- Static Public Member Functions inherited from FNavigationPath
static bool GetPathPoint (const FNavigationPath *Path, uint32 PathVertIdx, FNavPathPoint &PathPoint)
 
- Public Attributes inherited from FNavigationPath
TArray< NavNodeRefShortcutNodeRefs
 
- Protected Member Functions inherited from FNavigationPath
virtual void OnPathUpdated (ENavPathUpdateType::Type UpdateType)
 
- Protected Member Functions inherited from TSharedFromThis< FNavigationPath, ESPMode::ThreadSafe >
 TSharedFromThis ()
 
 TSharedFromThis (TSharedFromThis const &)
 
UE_FORCEINLINE_HINT TSharedFromThisoperator= (TSharedFromThis const &)
 
 ~TSharedFromThis ()
 
- Static Protected Member Functions inherited from TSharedFromThis< FNavigationPath, ESPMode::ThreadSafe >
static UE_FORCEINLINE_HINT TSharedRef< OtherType, Mode > SharedThis (OtherType *ThisPtr)
 
static UE_FORCEINLINE_HINT TSharedRef< OtherType const, Mode > SharedThis (const OtherType *ThisPtr)
 
- Protected Attributes inherited from FNavigationPath
TArray< FNavPathPointPathPoints
 
TWeakObjectPtr< AActorBase
 
FSharedConstNavQueryFilter Filter
 
FNavPathType PathType
 
FPathObserverDelegate ObserverDelegate
 
uint32 bUpToDate: 1
 
uint32 bIsReady: 1
 
uint32 bIsPartial: 1
 
uint32 bReachedSearchLimit: 1
 
uint32 bErrorStartLocationNonNavigable: 1 = false
 
uint32 bErrorEndLocationNonNavigable: 1 = false
 
uint32 bDoAutoUpdateOnInvalidation: 1
 
uint32 bIgnoreInvalidation: 1
 
uint32 bUpdateStartPointOnRepath: 1
 
uint32 bUpdateEndPointOnRepath: 1
 
uint32 bWaitingForRepath: 1
 
uint32 bUseOnPathUpdatedNotify: 1
 
uint32 bObservingGoalActor: 1
 
TWeakObjectPtr< ANavigationDataNavigationDataUsed
 
FPathFindingQueryData PathFindingQueryData
 
double LastUpdateTimeStamp
 
- Static Protected Attributes inherited from FNavigationPath
static NAVIGATIONSYSTEM_API const FNavPathType Type
 

Member Typedef Documentation

◆ Super

Constructor & Destructor Documentation

◆ FAbstractNavigationPath()

FAbstractNavigationPath::FAbstractNavigationPath ( )

Member Data Documentation

◆ Type

const FNavPathType FAbstractNavigationPath::Type
static

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