UNavigationPath

[UObject](API\Runtime\CoreUObject\UObject\UObject) wrapper for [FNavigationPath](API\Runtime\NavigationSystem\FNavigationPath)

Choose your operating system:

Windows

macOS

Linux

Inheritance Hierarchy

References

Module

NavigationSystem

Header

/Engine/Source/Runtime/NavigationSystem/Public/NavigationPath.h

Include

#include "NavigationPath.h"

Syntax

class UNavigationPath : public UObject

Remarks

UObject wrapper for FNavigationPath

Variables

Name Description

Protected variable

FNavigationPath...

 

PathObserver

Protected variable

FDelegateHandle

 

PathObserverDelegateHandle

Public variable

TArray< FVector...

 

PathPoints

Public variable

FOnNavigationPa...

 

PathUpdatedNotifier

Public variable

TEnumAsByte< EN...

 

RecalculateOnInvalidation

Protected variable

FNavPathSharedP...

 

SharedPath

Constructors

Name Description

Public function

UNavigationPath

(
    const FObjectInitializer& ObjectIn...
)

Functions

Name Description

Protected function

void

 

DrawDebug

(
    UCanvas* Canvas,
    APlayerController*
)

Public function

void

 

EnableDebugDrawing

(
    bool bShouldDrawDebugData,
    FLinearColor PathColor
)

Public function

void

 

EnableRecalculationOnInvalidation

If enabled path will request recalculation if it gets invalidated due to a change to underlying navigation

Public function Const

FString

 

GetDebugString()

Public function

FNavPathShar...

 

GetPath()

Public function Const

float

 

GetPathCost()

Public function Const

float

 

GetPathLength()

Public function Const

bool

 

IsPartial()

Public function Const

bool

 

IsStringPulled()

Public function Const

bool

 

IsValid()

Protected function

void

 

OnPathEvent

(
    FNavigationPath* Path,
    ENavPathEvent::Type PathEvent
)

Public function

void

 

SetPath

(
    FNavPathSharedPtr NewSharedPath
)

Protected function

void

 

SetPathPointsFromPath

(
    FNavigationPath& NativePath
)

Overridden from UObject

Name Description

Public function Virtual

void

 

BeginDestroy()

UObject begin.