Navigation
API > API/Runtime > API/Runtime/NavigationSystem
UObject wrapper for FNavigationPath
| Name | UNavigationPath |
| Type | class |
| Header File | /Engine/Source/Runtime/NavigationSystem/Public/NavigationPath.h |
| Include Path | #include "NavigationPath.h" |
Syntax
UCLASS (BlueprintType, MinimalAPI)
class UNavigationPath : public UObject
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UNavigationPath
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
UNavigationPath
(
const FObjectInitializer& ObjectInitializer |
NavigationPath.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| PathPoints | TArray< FVector > | NavigationPath.h |
|
|
| PathUpdatedNotifier | FOnNavigationPathUpdated | NavigationPath.h |
|
|
| RecalculateOnInvalidation | ENavigationOptionFlag | NavigationPath.h |
|
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| bDebugDrawingEnabled | uint32 | NavigationPath.h | ||
| bIsValid | uint32 | NavigationPath.h | ||
| DebugDrawingColor | FColor | NavigationPath.h | ||
| DrawDebugDelegateHandle | FDelegateHandle | NavigationPath.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void EnableDebugDrawing
(
bool bShouldDrawDebugData, |
NavigationPath.h |
|
|
void EnableRecalculationOnInvalidation
(
ENavigationOptionFlag DoRecalculation |
If enabled path will request recalculation if it gets invalidated due to a change to underlying navigation | NavigationPath.h |
|
FString GetDebugString() |
NavigationPath.h |
|
|
FNavPathSharedPtr GetPath() |
NavigationPath.h | ||
double GetPathCost() |
NavigationPath.h |
|
|
double GetPathLength() |
NavigationPath.h |
|
|
bool IsPartial() |
NavigationPath.h |
|
|
bool IsStringPulled() |
NavigationPath.h |
|
|
bool IsValid() |
NavigationPath.h |
|
|
void SetPath
(
FNavPathSharedPtr NewSharedPath |
NavigationPath.h |
Overridden from UObject
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
virtual void BeginDestroy() |
UObject begin. | NavigationPath.h |
Protected
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void DrawDebug
(
UCanvas* Canvas, |
NavigationPath.h | ||
void OnPathEvent
(
FNavigationPath* Path, |
NavigationPath.h | ||
void SetPathPointsFromPath
(
FNavigationPath& NativePath |
NavigationPath.h |