|
| AIMODULE_API | FMetaNavMeshPath () |
| |
| AIMODULE_API | FMetaNavMeshPath (const TArray< FMetaPathWayPoint > &InWaypoints, const ANavigationData &NavData) |
| |
| AIMODULE_API | FMetaNavMeshPath (const TArray< FMetaPathWayPoint > &InWaypoints, const AController &Owner) |
| |
| AIMODULE_API | FMetaNavMeshPath (const TArray< FVector > &InWaypoints, const ANavigationData &NavData) |
| |
| AIMODULE_API | FMetaNavMeshPath (const TArray< FVector > &InWaypoints, const AController &Owner) |
| |
| virtual AIMODULE_API void | Initialize (const FVector &AgentLocation) |
| |
| virtual AIMODULE_API bool | ConditionalMoveToNextSection (const FVector &AgentLocation, EMetaPathUpdateReason Reason) |
| |
| AIMODULE_API bool | ForceMoveToNextSection (const FVector &AgentLocation) |
| |
| virtual AIMODULE_API bool | UpdatePath (const FVector &AgentLocation) |
| |
| virtual AIMODULE_API void | CopyFrom (const FMetaNavMeshPath &Other) |
| |
| bool | IsLastSection () const |
| |
| int32 | GetTargetWaypointIndex () const |
| |
| int32 | GetNumWaypoints () const |
| |
| const TArray< FMetaPathWayPoint > & | GetWaypointArray () const |
| |
| AActor * | GetMetaPathGoal () const |
| |
| AIMODULE_API bool | SetWaypoints (const TArray< FMetaPathWayPoint > &InWaypoints) |
| |
| AIMODULE_API bool | SetWaypoints (const TArray< FVector > &InWaypoints) |
| |
| float | GetWaypointSwitchRadius () const |
| |
| void | SetWaypointSwitchRadius (float InSwitchRadius) |
| |
| virtual AIMODULE_API FVector::FReal | GetLengthFromPosition (FVector SegmentStart, uint32 NextPathPointIndex) const override |
| |
| virtual AIMODULE_API FVector::FReal | GetCostFromIndex (int32 PathPointIndex) const override |
| |
| virtual AIMODULE_API void | DebugDraw (const ANavigationData *NavData, const FColor PathColor, UCanvas *Canvas, const bool bPersistent, const float LifeTime, const uint32 NextPathPointIndex=0) const override |
| |
| NAVIGATIONSYSTEM_API | FNavMeshPath () |
| |
| NAVIGATIONSYSTEM_API | ~FNavMeshPath () |
| |
| NAVIGATIONSYSTEM_API | FNavMeshPath (const FNavMeshPath &) |
| |
| NAVIGATIONSYSTEM_API | FNavMeshPath (FNavMeshPath &&Other) |
| |
| NAVIGATIONSYSTEM_API FNavMeshPath & | operator= (const FNavMeshPath &Other) |
| |
| NAVIGATIONSYSTEM_API FNavMeshPath & | operator= (FNavMeshPath &&Other) |
| |
| void | SetWantsStringPulling (const bool bNewWantsStringPulling) |
| |
| bool | WantsStringPulling () const |
| |
| bool | IsStringPulled () const |
| |
| NAVIGATIONSYSTEM_API void | PerformStringPulling (const FVector &StartLoc, const FVector &EndLoc) |
| |
| void | SetWantsPathCorridor (const bool bNewWantsPathCorridor) |
| |
| bool | WantsPathCorridor () const |
| |
| const TArray< FNavigationPortalEdge > & | GetPathCorridorEdges () const |
| |
| void | SetPathCorridorEdges (const TArray< FNavigationPortalEdge > &InPathCorridorEdges) |
| |
| void | OnPathCorridorUpdated () |
| |
| NAVIGATIONSYSTEM_API bool | ContainsWithSameEnd (const FNavMeshPath *Other) const |
| |
| NAVIGATIONSYSTEM_API void | OffsetFromCorners (FVector::FReal Distance) |
| |
| NAVIGATIONSYSTEM_API void | ApplyFlags (int32 NavDataFlags) |
| |
| virtual NAVIGATIONSYSTEM_API void | ResetForRepath () override |
| |
| NAVIGATIONSYSTEM_API bool | GetNodeFlags (int32 NodeIdx, FNavMeshNodeFlags &Flags) const |
| |
| virtual FVector::FReal | GetCostFromNode (NavNodeRef PathNode) const override |
| |
| FVector::FReal | GetTotalPathLength () const |
| |
| int32 | GetNodeRefIndex (const NavNodeRef NodeRef) const |
| |
| virtual bool | ContainsNode (NavNodeRef NodeRef) const override |
| |
| virtual bool | ContainsCustomLink (FNavLinkId UniqueLinkId) const override |
| |
| virtual bool | ContainsAnyCustomLink () const override |
| |
| NAVIGATIONSYSTEM_API bool | IsPathSegmentANavLink (const int32 PathSegmentStartIndex) const |
| |
| virtual NAVIGATIONSYSTEM_API bool | DoesIntersectBox (const FBox &Box, uint32 StartingIndex=0, int32 *IntersectingSegmentIndex=NULL, FVector *AgentExtent=NULL) const override |
| |
| virtual NAVIGATIONSYSTEM_API bool | DoesIntersectBox (const FBox &Box, const FVector &AgentLocation, uint32 StartingIndex=0, int32 *IntersectingSegmentIndex=NULL, FVector *AgentExtent=NULL) const override |
| |
| virtual NAVIGATIONSYSTEM_API FVector | GetSegmentDirection (uint32 SegmentEndIndex) const override |
| |
| NAVIGATIONSYSTEM_API void | Invert () |
| |
| | 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 |
| |
| FNavigationPath & | operator= (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 |
| |
| FPathObserverDelegate & | GetObserver () |
| |
| FDelegateHandle | AddObserver (FPathObserverDelegate::FDelegate NewObserver) |
| |
| void | RemoveObserver (FDelegateHandle HandleOfObserverToRemove) |
| |
| void | MarkReady () |
| |
| void | SetNavigationDataUsed (const ANavigationData *const NewData) |
| |
| ANavigationData * | GetNavigationDataUsed () const |
| |
| void | SetQuerier (const UObject *InQuerier) |
| |
| const UObject * | GetQuerier () 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 |
| |
| AActor * | GetBaseActor () 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 () |
| |
| NAVIGATIONSYSTEM_API void | RemoveOverlappingPoints (const FVector &Tolerance) |
| |
| virtual bool | ContainsCustomLink (uint32 UniqueLinkId) const final |
| |
| FVector::FReal | GetCost () const |
| |
| FVector::FReal | GetLength () const |
| |
| const TArray< FNavPathPoint > & | GetPathPoints () const |
| |
| TArray< FNavPathPoint > & | GetPathPoints () |
| |
| NAVIGATIONSYSTEM_API FBasedPosition | GetPathPointLocation (uint32 Index) const |
| |
| template<typename PathClass > |
| const PathClass * | CastPath () const |
| |
| template<typename PathClass > |
| PathClass * | CastPath () |
| |
| 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 AActor * | GetSourceActor () const |
| |
| const INavAgentInterface * | GetSourceActorAsNavAgent () 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 AActor * | GetGoalActor () const |
| |
| const INavAgentInterface * | GetGoalActorAsNavAgent () const |
| |
| 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 |
| |
FMetaNavMeshPath allows creating hierarchical or guided navmesh paths
Waypoints array defines list of locations that will be used to create actual FNavMeshPath data during path following. On path following start and upon reaching waypoint, path will request update from owning navmesh with following parameters:
- start location set to agent location
- end location set to target waypoint (or goal actor for last one)
- goal actor set only for last section
Since path updates itself for moving agent it really shouldn't be reused by others.